aboutsummaryrefslogtreecommitdiff
path: root/games/odamex/waddir.diff
blob: ea82a16778c0a30632ca6cfb17f18a618ff524bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naur odamex-src-0.5.6/client/src/d_main.cpp odamex-src-0.5.6.patched//client/src/d_main.cpp
--- odamex-src-0.5.6/client/src/d_main.cpp	2011-11-05 00:00:05.000000000 -0400
+++ odamex-src-0.5.6.patched//client/src/d_main.cpp	2011-12-23 07:23:12.000000000 -0500
@@ -845,6 +845,7 @@
 	D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator);
 	D_AddSearchDir(dirs, getenv("HOME"), separator);
 	D_AddSearchDir(dirs, waddirs.cstring(), separator);
+	D_AddSearchDir(dirs, "/usr/share/games/doom", separator);
 
     dirs.erase(std::unique(dirs.begin(), dirs.end()), dirs.end());
 
diff -Naur odamex-src-0.5.6/server/src/d_main.cpp odamex-src-0.5.6.patched//server/src/d_main.cpp
--- odamex-src-0.5.6/server/src/d_main.cpp	2011-11-04 23:59:48.000000000 -0400
+++ odamex-src-0.5.6.patched//server/src/d_main.cpp	2011-12-23 07:22:56.000000000 -0500
@@ -629,6 +629,7 @@
 	D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator);
     D_AddSearchDir(dirs, getenv("HOME"), separator);
     D_AddSearchDir(dirs, waddirs.cstring(), separator);
+	D_AddSearchDir(dirs, "/usr/share/games/doom", separator);
 
 
 	dirs.erase(std::unique(dirs.begin(), dirs.end()), dirs.end());