Fix a crash when accessing SECTOR_WALLPTR with CON_SETSECTOR

git-svn-id: https://svn.eduke32.com/eduke32@7351 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-02-22 20:26:38 +00:00
parent 4b1d268908
commit 766fb93191

View file

@ -2526,7 +2526,7 @@ next_instruction:
if (sectLabel.offset == -1 || sectLabel.flags & LABEL_WRITEFUNC)
{
VM_SetSector(sectNum, labelNum, Gv_GetVarX(*insptr++));
VM_SetSector(sectNum, labelNum, newValue);
continue;
}