mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +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;
|
sec = tsec;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
newsecnum = tsec->Index();
|
||||||
}
|
}
|
||||||
newsecnum = tsec->sectornum;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue