mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 08:30:58 +00:00
This fixes using .cfg files that are outside of the game directory.
git-svn-id: https://svn.eduke32.com/eduke32@466 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
76c2340c83
commit
e0e4dfdabd
1 changed files with 2 additions and 0 deletions
|
@ -579,8 +579,10 @@ int32 CONFIG_ReadSetup(void)
|
||||||
|
|
||||||
setupread = 1;
|
setupread = 1;
|
||||||
|
|
||||||
|
pathsearchmode = 1;
|
||||||
if (SafeFileExists(setupfilename) && scripthandle < 0) // JBF 20031211
|
if (SafeFileExists(setupfilename) && scripthandle < 0) // JBF 20031211
|
||||||
scripthandle = SCRIPT_Load(setupfilename);
|
scripthandle = SCRIPT_Load(setupfilename);
|
||||||
|
pathsearchmode = 0;
|
||||||
|
|
||||||
if (scripthandle < 0) return -1;
|
if (scripthandle < 0) return -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue