From e6a7db99e41168d672759e04e38b795510b8b675 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 28 Jun 2016 10:44:48 +0300 Subject: [PATCH] Fixed missing polyobjects in compatibility renderer --- src/gl/compatibility/gl_20.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/compatibility/gl_20.cpp b/src/gl/compatibility/gl_20.cpp index 431f6bfe9..27f08a344 100644 --- a/src/gl/compatibility/gl_20.cpp +++ b/src/gl/compatibility/gl_20.cpp @@ -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;