]> git.pld-linux.org Git - packages/clanbomber.git/blobdiff - clanbomber-hardcoded_paths.patch
04029ee850aedaa41a10e31c30fe0e33 clanbomber-hardcoded_paths.patch
[packages/clanbomber.git] / clanbomber-hardcoded_paths.patch
diff --git a/clanbomber-hardcoded_paths.patch b/clanbomber-hardcoded_paths.patch
new file mode 100644 (file)
index 0000000..de7fa50
--- /dev/null
@@ -0,0 +1,24 @@
+--- clanbomber-1.02a/clanbomber/ClanBomber.cpp~        Sun Nov 10 23:14:09 2002
++++ clanbomber-1.02a/clanbomber/ClanBomber.cpp Sun Nov 10 23:14:09 2002
+@@ -101,10 +101,10 @@
+                       map_path = "/usr/local/share/clanbomber/maps";
+                       if (!opendir(map_path))
+                       {
+-                              map_path = "/usr/share/clanbomber/maps";
++                              map_path = "/usr/share/games/clanbomber/maps";
+                               if (!opendir(map_path))
+                               {
+-                                      map_path = "/usr/share/clanbomber/maps";
++                                      map_path = "/usr/share/games/clanbomber/maps";
+                               }
+                       }
+               }
+@@ -606,7 +606,7 @@
+               {
+                       try
+                       {
+-                              wav = CL_Streamed_MikModSample::create("/usr/share/clanbomber/bud.mod", NULL, true);
++                              wav = CL_Streamed_MikModSample::create("/usr/share/games/clanbomber/bud.mod", NULL, true);
+                               ses = new CL_SoundBuffer_Session( wav->prepare() );
+                               ses->set_volume(1.2f);
+                       }
This page took 0.647632 seconds and 4 git commands to generate.