summaryrefslogtreecommitdiff
path: root/games/edge/files/patch-src__e_main.cc
blob: 409ac3d46f0ce965dc06060888e3f8ebce5ad8a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/e_main.cc.orig	2008-08-23 18:00:36.000000000 +0900
+++ src/e_main.cc	2009-04-14 04:42:02.000000000 +0900
@@ -936,6 +936,8 @@
 
         if (s && epi::FS_IsDir(s))
             iwad_dir = std::string(s);
+        else
+            iwad_dir = std::string("%%DMDIR%%");
     }
 
     // Should the IWAD directory not be set by now, then we