From dd15fc54c17edb6c998fb2a1309f5217f61e3340 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 19 Mar 2021 12:02:20 +0100 Subject: [PATCH] - top texture means RENDERWALL_TOP, not that it matters much at the moment... --- source/core/rendering/scene/hw_walls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/rendering/scene/hw_walls.cpp b/source/core/rendering/scene/hw_walls.cpp index abfeacfdf..9666dc914 100644 --- a/source/core/rendering/scene/hw_walls.cpp +++ b/source/core/rendering/scene/hw_walls.cpp @@ -827,7 +827,7 @@ void HWWall::DoUpperTexture(HWDrawInfo* di, walltype* wal, sectortype* frontsect // get the alignment reference position. int refheight = (wal->cstat & CSTAT_WALL_ALIGN_BOTTOM) ? frontsector->ceilingz : backsector->ceilingz; - type = RENDERWALL_BOTTOM; + type = RENDERWALL_TOP; DoTexture(di, wal, wal, refheight, topleft, topright, bottomleft, bottomright); }