Fixed missing polyobjects in compatibility renderer

This commit is contained in:
alexey.lysiuk 2016-06-28 10:44:48 +03:00 committed by Christoph Oelckers
parent fc8eaab57b
commit e6a7db99e4
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ bool GLWall::PutWallCompat(int passflag)
}
else if (sub)
{
if (sub->lighthead != nullptr) return false;
if (sub->lighthead == nullptr) return false;
}
bool foggy = !gl_isBlack(Colormap.FadeColor) || (level.flags&LEVEL_HASFADETABLE) || gl_lights_additive;