summaryrefslogtreecommitdiff
path: root/games/stormbaancoureur/files/patch-src-sturmbahnfahrer-main.cxx
blob: c2c45b30027d86d0c268ffc7cf8dffb051b17536 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src-sturmbahnfahrer/main.cxx.orig	Thu May 17 20:02:03 2007
+++ src-sturmbahnfahrer/main.cxx	Thu Aug  9 02:21:33 2007
@@ -656,12 +656,7 @@
   fprintf(stderr,"OpenDE is (c) by Russel L. Smith\n");
 
   char *bindirname  = dirname(argv[0]);
-  if (!strcmp(bindirname,"."))
     dirprefix="/usr/share/games/sturmbahnfahrer";
-  else
-  {
-    dirprefix = dirname(bindirname) + std::string("/share/games/sturmbahnfahrer");
-  }
   if (getenv("PLODE_DATADIR"))
     dirprefix = getenv("PLODE_DATADIR");
   if (getenv("PLODE_DISPLAYMODE"))