mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-26 13:51:35 +00:00
- fixed: The stair builder code tried to access a member of a null pointer after finding no more stair sectors.
# Conflicts: # src/p_floor.cpp
This commit is contained in:
parent
ea29e45ef5
commit
9eb2730328
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 = (int)(tsec - sectors);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue