This commit is contained in:
nashmuhandes 2016-07-25 18:46:40 +08:00
commit ad4e2b0cc2

View file

@ -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