mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
CON: make setting a sector's .wallptr call setfirstwall() instead of setting it directly and corrupting the map
git-svn-id: https://svn.eduke32.com/eduke32@6894 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
712646f713
commit
18a289d762
1 changed files with 1 additions and 1 deletions
|
@ -1117,7 +1117,7 @@ void __fastcall VM_SetSector(int32_t const sectNum, int32_t const labelNum, int3
|
|||
|
||||
switch (labelNum)
|
||||
{
|
||||
case SECTOR_WALLPTR: pSector->wallptr = iSet; break;
|
||||
case SECTOR_WALLPTR: setfirstwall(sectNum, iSet); break;
|
||||
case SECTOR_WALLNUM: pSector->wallnum = iSet; break;
|
||||
|
||||
case SECTOR_CEILINGZ: pSector->ceilingz = iSet; break;
|
||||
|
|
Loading…
Reference in a new issue