mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-26 13:51:35 +00:00
Revert "- fixed: The stair builder code tried to access a member of a null pointer after finding no more stair sectors."
This reverts commit 9eb2730328
.
This fix doesn't apply to 'maint'.
This commit is contained in:
parent
62648ca29c
commit
ff9513a814
1 changed files with 2 additions and 1 deletions
|
@ -663,8 +663,9 @@ bool EV_BuildStairs (int tag, DFloor::EStair type, line_t *line,
|
|||
sec = tsec;
|
||||
continue;
|
||||
}
|
||||
newsecnum = tsec->Index();
|
||||
|
||||
}
|
||||
newsecnum = (int)(tsec - sectors);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue