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:
terminx 2007-01-22 02:49:58 +00:00
parent 76c2340c83
commit e0e4dfdabd

View file

@ -579,8 +579,10 @@ int32 CONFIG_ReadSetup(void)
setupread = 1;
pathsearchmode = 1;
if (SafeFileExists(setupfilename) && scripthandle < 0) // JBF 20031211
scripthandle = SCRIPT_Load(setupfilename);
pathsearchmode = 0;
if (scripthandle < 0) return -1;