- fixed: 3DMidtextures did not work correctly in sectors with slopes.

SVN r3120 (trunk)
This commit is contained in:
Christoph Oelckers 2011-01-23 09:03:55 +00:00
parent 6056393af7
commit a8167b3110

View file

@ -740,7 +740,8 @@ bool PIT_CheckLine (line_t *ld, const FBoundingBox &box, FCheckPosition &tm)
// so don't mess around with the z-position
if (ld->frontsector->floorplane==ld->backsector->floorplane &&
ld->frontsector->floorplane==tm.thing->Sector->floorplane &&
!ld->frontsector->e->XFloor.ffloors.Size() && !ld->backsector->e->XFloor.ffloors.Size())
!ld->frontsector->e->XFloor.ffloors.Size() && !ld->backsector->e->XFloor.ffloors.Size() &&
!open.abovemidtex)
{
open.bottom=INT_MIN;
}