From 59790302ece1c79b898d8bb505d0adcd9ffb9990 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 11 Nov 2018 22:17:44 +0100 Subject: [PATCH] - fixed rendering of lower untextured linedef parts. --- src/hwrenderer/scene/hw_renderhacks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hwrenderer/scene/hw_renderhacks.cpp b/src/hwrenderer/scene/hw_renderhacks.cpp index afa1eae78..380a43224 100644 --- a/src/hwrenderer/scene/hw_renderhacks.cpp +++ b/src/hwrenderer/scene/hw_renderhacks.cpp @@ -820,13 +820,13 @@ void HWDrawInfo::PrepareLowerGap(seg_t * seg) CreateFloodPoly(&ws, vertices.first+4, ws.z1, fakebsector, false); gl_floodrendernode *node = NewFloodRenderNode(); - auto pNode = floodCeilingSegs.CheckKey(fakebsector->sectornum); + auto pNode = floodFloorSegs.CheckKey(fakebsector->sectornum); node->next = pNode? *pNode : nullptr; node->seg = seg; node->vertexindex = vertices.second; - floodCeilingSegs[fakebsector->sectornum] = node; + floodFloorSegs[fakebsector->sectornum] = node; } //==========================================================================