- 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
This commit is contained in:
Christoph Oelckers 2018-12-16 09:38:22 +01:00
parent d0ce021805
commit a96b86b13b

View file

@ -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];