- 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

# Conflicts:
#	src/hwrenderer/scene/hw_walls.cpp

# Conflicts:
#	src/gl/scene/gl_walls_draw.cpp
This commit is contained in:
Christoph Oelckers 2018-12-16 09:38:22 +01:00 committed by drfrag
parent 988e8042bb
commit ce6b24308e

View file

@ -359,7 +359,7 @@ void GLWall::RenderTextured(int rflags)
}
mDrawer->SetFog(255, 0, NULL, false);
}
if (type != RENDERWALL_COLOR)
if (type != RENDERWALL_COLOR && seg->sidedef != nullptr)
{
auto side = seg->sidedef;
auto tierndx = renderwalltotier[type];