diff --git a/src/game/g_holmes.pas b/src/game/g_holmes.pas
index 34fac81284217c51e8303d09c2a0ffd89f2d9855..a2a55ad87bb0664ec651338a1b396a0994b7b77d 100644 (file)
--- a/src/game/g_holmes.pas
+++ b/src/game/g_holmes.pas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation, version 3 of the License ONLY.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
uses
{$INCLUDE ../nogl/noGLuses.inc}
- {rttiobj,} typinfo, e_texture,
+ {rttiobj,} typinfo, e_texture, e_res,
SysUtils, Classes, SDL2,
MAPDEF, g_main, g_options,
utils, hashtable, xparser;
// load bindings from file
try
- st := openDiskFileRO(GameDir+'holmes.rc');
+ st := e_OpenResourceRO(ConfigDirs, 'holmes.rc');
pr := TFileTextParser.Create(st);
conwriteln('parsing "holmes.rc"...');
while (pr.tokType <> pr.TTEOF) do