- fixed: P_FindFloorCeiling may not use the floorsector returned by P_LineOpening when only checking 3D-floors because it will be NULL.

SVN r3547 (trunk)
This commit is contained in:
Christoph Oelckers 2012-04-09 09:01:25 +00:00
parent 6089347161
commit d81542752a
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ static bool PIT_FindFloorCeiling (line_t *ld, const FBoundingBox &box, FCheckPos
if (open.bottom > tmf.floorz)
{
tmf.floorz = open.bottom;
tmf.floorsector = open.bottomsec;
if (open.bottomsec != NULL) tmf.floorsector = open.bottomsec;
tmf.touchmidtex = open.touchmidtex;
tmf.abovemidtex = open.abovemidtex;
}