From a94a2928207ca911cbf1224e65b333cb486228d6 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 20 Oct 2015 07:15:08 +0000 Subject: [PATCH] Fix pathsearchmode in Mapster32 when using a .def which loads a .grp. git-svn-id: https://svn.eduke32.com/eduke32@5389 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/astub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 6478ff627..846313620 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -9186,6 +9186,7 @@ static int32_t parsegroupfiles(scriptfile *script) case T_LOADGRP: { char *fn; + int opathsearchmode = pathsearchmode; pathsearchmode = 1; if (!scriptfile_getstring(script,&fn)) @@ -9202,7 +9203,7 @@ static int32_t parsegroupfiles(scriptfile *script) } } - pathsearchmode = 0; + pathsearchmode = opathsearchmode; } break; case T_INCLUDE: