1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
Description: this patch changes the default search path for uhexen2 executables
Origin: vendor
Forwarded: not-needed
Last-Update: <2016-02-14>
--- a/engine/hexenworld/client/sys_unix.c
+++ b/engine/hexenworld/client/sys_unix.c
@@ -643,7 +643,7 @@ int main (int argc, char **argv)
/* initialize the host params */
memset (&parms, 0, sizeof(parms));
- parms.basedir = cwd;
+ parms.basedir = "/usr/share/games/hexen2";
parms.userdir = cwd;
parms.argc = argc;
parms.argv = argv;
--- a/engine/hexenworld/server/sys_unix.c
+++ b/engine/hexenworld/server/sys_unix.c
@@ -525,7 +525,7 @@ int main (int argc, char **argv)
/* initialize the host params */
memset (&parms, 0, sizeof(parms));
- parms.basedir = cwd;
+ parms.basedir = "/usr/share/games/hexen2";
parms.userdir = cwd;
parms.argc = argc;
parms.argv = argv;
--- a/engine/hexen2/sys_unix.c
+++ b/engine/hexen2/sys_unix.c
@@ -892,7 +892,7 @@ int main (int argc, char **argv)
/* initialize the host params */
memset (&parms, 0, sizeof(parms));
- parms.basedir = cwd;
+ parms.basedir = "/usr/share/games/hexen2";
parms.userdir = cwd;
parms.argc = argc;
parms.argv = argv;
--- a/engine/hexen2/server/sys_unix.c
+++ b/engine/hexen2/server/sys_unix.c
@@ -566,7 +566,7 @@ int main (int argc, char **argv)
/* initialize the host params */
memset (&parms, 0, sizeof(parms));
- parms.basedir = cwd;
+ parms.basedir = "/usr/share/games/hexen2";
parms.userdir = cwd;
parms.argc = argc;
parms.argv = argv;
|