From 8dc6fb6cfdd7bb4801e74aaed300cc32f89c5b65 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 24 Jun 2017 21:17:38 +0000 Subject: [PATCH] Don't try to load duke3d.cfg in standalone builds git-svn-id: https://svn.eduke32.com/eduke32@6267 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/config.cpp b/source/duke3d/src/config.cpp index ba93f7013..728cc8bd5 100644 --- a/source/duke3d/src/config.cpp +++ b/source/duke3d/src/config.cpp @@ -522,7 +522,7 @@ int32_t CONFIG_ReadSetup(void) ud.config.setupread = 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 ud.config.scripthandle = SCRIPT_Load(g_setupFileName); else if (SafeFileExists(SETUPFILENAME) && ud.config.scripthandle < 0)