Fix problem with C-CON sector and wall structure access. Oops.

git-svn-id: https://svn.eduke32.com/eduke32@5587 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-01-27 07:16:47 +00:00
parent f8e1d814ce
commit b36f2bdc7f

View file

@ -3675,7 +3675,7 @@ DO_DEFSTATE:
continue;
BITPTR_CLEAR(g_scriptPtr-script);
*g_scriptPtr++=lLabelID;
*g_scriptPtr++=SectorLabels[lLabelID].lId;
C_GetNextVarType((tw == CON_GETSECTOR) ? GAMEVAR_READONLY : 0);
continue;
@ -3745,7 +3745,7 @@ DO_DEFSTATE:
continue;
BITPTR_CLEAR(g_scriptPtr-script);
*g_scriptPtr++=lLabelID;
*g_scriptPtr++=WallLabels[lLabelID].lId;
C_GetNextVarType((tw == CON_GETWALL) ? GAMEVAR_READONLY : 0);
continue;