mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-02-18 09:31:09 +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;
|
sec = tsec;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
newsecnum = tsec->Index();
|
|
||||||
}
|
}
|
||||||
|
newsecnum = (int)(tsec - sectors);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue