mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 21:51:09 +00:00
- fixed: The stair builder code tried to access a member of a null pointer after finding no more stair sectors.
This commit is contained in:
parent
815a440014
commit
26170419f4
1 changed files with 1 additions and 2 deletions
|
@ -663,9 +663,8 @@ bool EV_BuildStairs (int tag, DFloor::EStair type, line_t *line,
|
|||
sec = tsec;
|
||||
continue;
|
||||
}
|
||||
|
||||
newsecnum = tsec->Index();
|
||||
}
|
||||
newsecnum = tsec->sectornum;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue