summaryrefslogtreecommitdiff
path: root/pcr/odamex/0001-Fix-WAD-path.patch
blob: 12b485ac80a493f7f5b7e99ca7146aeeb2ef63cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --unified --recursive --text odamex-src-0.8.0/common/d_main.cpp "odamex-src-0.8.0 diff/common/d_main.cpp"
--- odamex-src-0.8.0/common/d_main.cpp	2019-01-23 04:01:47.000000000 +0100
+++ "odamex-src-0.8.0 diff/common/d_main.cpp"	2019-03-07 22:31:46.807985980 +0100
@@ -499,6 +499,8 @@
 	dirs.push_back(progdir);
 
 	D_AddSearchDir(dirs, Args.CheckValue("-waddir"), separator);
+	D_AddSearchDir(dirs, "/usr/share/odamex", separator);
+	D_AddSearchDir(dirs, "/usr/share/doom", separator);
 	D_AddSearchDir(dirs, getenv("DOOMWADDIR"), separator);
 	D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator);
 	D_AddSearchDir(dirs, getenv("HOME"), separator);
 
 VERSION_CONTROL (d_main_cpp, "$Id: cc97705a3130a984ef22d249de74a1dc64ba33a8 $")