mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
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:
parent
4b1d268908
commit
766fb93191
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue