- 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:
Christoph Oelckers 2017-01-09 23:23:26 +01:00
parent 815a440014
commit 26170419f4

View file

@ -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
{ {