From efe58c71f90e45501676197a3a003d577f61fefa Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Thu, 24 Sep 2015 06:31:52 +0000 Subject: [PATCH] C-CON: Fix a harmless "Internal compiler error" warning when using quick structure access on userdef. git-svn-id: https://svn.eduke32.com/eduke32@5354 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gamedef.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index 16f402eee..33ce19e19 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -1719,7 +1719,9 @@ static void C_GetNextVarType(int32_t type) textptr++; } - *g_scriptPtr++ = g_iThisActorID; // help out the VM by inserting a dummy index + + bitptr[(g_scriptPtr-script)>>3] &= ~(BITPTR_POINTER<<((g_scriptPtr-script)&7)); + *g_scriptPtr++ = 0; // help out the VM by inserting a dummy index } else {