diff --git a/src/gl/scene/gl_walls_draw.cpp b/src/gl/scene/gl_walls_draw.cpp index 81164e434a..7849114ff6 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) {