- removed redundant setting of black shadow color with incorrect data check.

SetLightAndFog already does this, but with correct checks.
This commit is contained in:
Christoph Oelckers 2022-05-30 23:05:37 +02:00
parent 990c8287fc
commit f245a70883

View file

@ -110,8 +110,6 @@ void HWSprite::DrawSprite(HWDrawInfo* di, FRenderState& state, bool translucent)
SetLightAndFog(di, state, fade, palette, shade, visibility, alpha);
if (shade >= numshades) state.SetObjectColor(0xff000000); // make sure that nothing lights this up again.
if (modelframe == 0)
{