From 2f1476319771b8880a64fe7593b5dc8aa5038170 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 16 Aug 2008 11:04:51 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@979 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gamedef.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index 9e82a0668..2f0ec1d23 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -1592,6 +1592,7 @@ static void transvartype(int type) if (!(error || warning) && g_ScriptDebug > 1) initprintf("%s:%d: debug: accepted gamevar `%s'.\n",compilefile,line_number,label+(labelcnt<<6)); + bitptr[(scriptptr-script)] = BITPTR_DONTFUCKWITHIT; *scriptptr++=(i|f); } @@ -1807,7 +1808,7 @@ static int parsecommand(void) initprintf("%s:%d: debug: accepted state label `%s'.\n",compilefile,line_number,label+(j<<6)); *scriptptr = labelcode[j]; if (labelcode[j] >= (intptr_t)&script[0] && labelcode[j] < (intptr_t)&script[g_ScriptSize]) - bitptr[(scriptptr-script)] = 1; + bitptr[(scriptptr-script)] = BITPTR_POINTER; else bitptr[(scriptptr-script)] = BITPTR_DONTFUCKWITHIT; break; }