From a96b86b13b97148a762f653808c805730d2b0cd0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 16 Dec 2018 09:38:22 +0100 Subject: [PATCH] - fixed: sidedef-less GLWalls may not apply per-sidedef render properties. These always come from open-sector render hacks where the renderer tries to fill in some gaps --- src/hwrenderer/scene/hw_walls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hwrenderer/scene/hw_walls.cpp b/src/hwrenderer/scene/hw_walls.cpp index 70ca0f633..f50ffbe45 100644 --- a/src/hwrenderer/scene/hw_walls.cpp +++ b/src/hwrenderer/scene/hw_walls.cpp @@ -165,7 +165,7 @@ void GLWall::RenderTexturedWall(HWDrawInfo *di, FRenderState &state, int rflags) } state.SetFog(255, 0, di->isFullbrightScene(), nullptr, false); } - if (type != RENDERWALL_COLOR) + if (type != RENDERWALL_COLOR && seg->sidedef != nullptr) { auto side = seg->sidedef; auto tierndx = renderwalltotier[type];