From d0b30f31e1f8f696a7c3d0b7ed003f9e6bc25ff1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 13 Apr 2016 11:41:51 +0200 Subject: [PATCH] - fixed: Checking for slopes at untextured bottom parts of the wall checked the ceiling's slope not the floor's. --- src/gl/scene/gl_walls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_walls.cpp b/src/gl/scene/gl_walls.cpp index c59d4a0419..231503407c 100644 --- a/src/gl/scene/gl_walls.cpp +++ b/src/gl/scene/gl_walls.cpp @@ -1588,7 +1588,7 @@ void GLWall::Process(seg_t *seg, sector_t * frontsector, sector_t * backsector) } else if (!(seg->sidedef->Flags & WALLF_POLYOBJ)) { - if ((frontsector->ceilingplane.isSlope() || backsector->ceilingplane.isSlope()) && + if ((frontsector->floorplane.isSlope() || backsector->floorplane.isSlope()) && frontsector->GetTexture(sector_t::floor) != skyflatnum && backsector->GetTexture(sector_t::floor) != skyflatnum) {