From 6fb25a562d6c5317925602f12900ce8f7fb8a307 Mon Sep 17 00:00:00 2001 From: Professor Hastig Date: Thu, 26 Oct 2023 08:08:58 +0200 Subject: [PATCH] fixed skewing for lower tiers. --- src/rendering/hwrenderer/scene/hw_walls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/hwrenderer/scene/hw_walls.cpp b/src/rendering/hwrenderer/scene/hw_walls.cpp index 33fd42db71e..ec865f7e339 100644 --- a/src/rendering/hwrenderer/scene/hw_walls.cpp +++ b/src/rendering/hwrenderer/scene/hw_walls.cpp @@ -2407,7 +2407,7 @@ void HWWall::Process(HWWallDispatcher *di, seg_t *seg, sector_t * frontsector, s /* bottom texture */ // the back sector's ceiling obstructs part of this wall (specially important for sky sectors) - float bfh1a = bch1, bfh2a = bch2; + float bfh1a = bfh1, bfh2a = bfh2; if (fch1 < bfh1 && fch2 < bfh2 && (seg->linedef->flags & ML_DRAWFULLHEIGHT) == 0) { bfh1 = fch1;