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:
Christoph Oelckers 2017-01-10 22:21:57 +01:00
parent 62648ca29c
commit ff9513a814

View file

@ -663,8 +663,9 @@ bool EV_BuildStairs (int tag, DFloor::EStair type, line_t *line,
sec = tsec;
continue;
}
newsecnum = tsec->Index();
}
newsecnum = (int)(tsec - sectors);
}
else
{