From a8167b3110562d0018d4671b390e197ec710bda3 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 23 Jan 2011 09:03:55 +0000 Subject: [PATCH] - fixed: 3DMidtextures did not work correctly in sectors with slopes. SVN r3120 (trunk) --- src/p_map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 2acb718c7..49277e7f0 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -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; }