From e0e4dfdabd03f9e0c5ef2deca78db09dd9f6a337 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 22 Jan 2007 02:49:58 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/config.c b/polymer/eduke32/source/config.c index d0e19eb24..434816186 100644 --- a/polymer/eduke32/source/config.c +++ b/polymer/eduke32/source/config.c @@ -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;