diff --git a/src/gl/scene/gl_weapon.cpp b/src/gl/scene/gl_weapon.cpp index 0e2e962da..34779ec7c 100644 --- a/src/gl/scene/gl_weapon.cpp +++ b/src/gl/scene/gl_weapon.cpp @@ -338,6 +338,11 @@ void FGLRenderer::DrawPlayerSprites(sector_t * viewsector, bool hudModelStep) vis.RenderStyle.Flags |= STYLEF_InvertSource; } } + if (vis.RenderStyle.AsDWORD == 0) + { + // This is RenderStyle None. + return; + } // Set the render parameters