From f372d8184a3dba76985c32b5ae599e3d164fc164 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 7 Jan 2016 03:29:59 +0000 Subject: [PATCH] Fix CON compiler errors. Me no smart. git-svn-id: https://svn.eduke32.com/eduke32@5511 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gamedef.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index dfa549cec..2c9e50057 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -1802,7 +1802,10 @@ static void C_GetNextVarType(int32_t type) else { if (*textptr == ']') + { + bitptr[(g_scriptPtr-script)>>3] &= ~(BITPTR_POINTER<<((g_scriptPtr-script)&7)); *g_scriptPtr++ = g_iThisActorID; + } else C_GetNextVarType(0); @@ -2130,7 +2133,10 @@ static int32_t C_GetStructureIndexes(int32_t labelsonly, hashtable_t *table) C_SkipComments(); if (*textptr == ']') + { + bitptr[(g_scriptPtr-script)>>3] &= ~(BITPTR_POINTER<<((g_scriptPtr-script)&7)); *g_scriptPtr++ = g_iThisActorID; + } else { g_labelsOnly = labelsonly;