DEADSOFTWARE

no more old mapreader: use textmap reader both for text and for binary maps
[d2df-sdl.git] / src / game / g_holmes.pas
index ae7c7b49e67e8c629b8fa7a2f28772048e3c5339..dfa8a00c5bb6eb86df978e88a432af2ad1bd7628 100644 (file)
@@ -102,7 +102,7 @@ implementation
 
 uses
   SysUtils, Classes, GL, SDL2,
-  MAPDEF, g_options, utils, hashtable, xparser;
+  MAPDEF, g_main, g_options, utils, hashtable, xparser;
 
 
 var
@@ -1206,7 +1206,7 @@ begin
 
     // load bindings from file
     try
-      st := openDiskFileRO('holmes.rc');
+      st := openDiskFileRO(GameDir+'holmes.rc');
       pr := TFileTextParser.Create(st);
       conwriteln('parsing "holmes.rc"...');
       while (pr.tokType <> pr.TTEOF) do