From 1261046f1a57fcb026c8fc44990c6393cb828ceb Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 2 Jan 2017 23:21:28 +0100 Subject: [PATCH] - fixed: The check for explicitly not splitting wall polygons at seg vertices was inverted. --- src/gl/scene/gl_walls_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_walls_draw.cpp b/src/gl/scene/gl_walls_draw.cpp index 81164e434..7849114ff 100644 --- a/src/gl/scene/gl_walls_draw.cpp +++ b/src/gl/scene/gl_walls_draw.cpp @@ -195,7 +195,7 @@ void GLWall::RenderWall(int textured) gl_RenderState.ApplyLightIndex(dynlightindex); if (gl.buffermethod != BM_DEFERRED) { - MakeVertices(!(textured&RWF_NOSPLIT)); + MakeVertices(!!(textured&RWF_NOSPLIT)); } else if (vertcount == 0) {