Don't try to load duke3d.cfg in standalone builds

git-svn-id: https://svn.eduke32.com/eduke32@6267 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-06-24 21:17:38 +00:00
parent 3181e8be9e
commit 8dc6fb6cfd

View file

@ -522,7 +522,7 @@ int32_t CONFIG_ReadSetup(void)
ud.config.setupread = 1; ud.config.setupread = 1;
pathsearchmode = 1; pathsearchmode = 1;
#ifndef EDUKE32_TOUCH_DEVICES #if !defined(EDUKE32_TOUCH_DEVICES) && !defined(EDUKE32_STANDALONE)
if (SafeFileExists(g_setupFileName) && ud.config.scripthandle < 0) // JBF 20031211 if (SafeFileExists(g_setupFileName) && ud.config.scripthandle < 0) // JBF 20031211
ud.config.scripthandle = SCRIPT_Load(g_setupFileName); ud.config.scripthandle = SCRIPT_Load(g_setupFileName);
else if (SafeFileExists(SETUPFILENAME) && ud.config.scripthandle < 0) else if (SafeFileExists(SETUPFILENAME) && ud.config.scripthandle < 0)