- fixed potential infinite loop in Hexen-style stair builder.
This commit is contained in:
parent
e6403197eb
commit
63fa01205f
4 changed files with 32 additions and 11 deletions
|
|
@ -521,7 +521,7 @@ int DPhased::PhaseHelper (sector_t *sector, int index, int light, sector_t *prev
|
|||
else
|
||||
l = Level->CreateThinker<DPhased> (sector, baselevel);
|
||||
|
||||
int numsteps = PhaseHelper (sector->NextSpecialSector (
|
||||
int numsteps = PhaseHelper (P_NextSpecialSector (sector,
|
||||
sector->special == LightSequenceSpecial1 ?
|
||||
LightSequenceSpecial2 : LightSequenceSpecial1, prev),
|
||||
index + 1, l->m_BaseLevel, sector);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue