Skip to content

Commit

Permalink
- removed redundant setting of black shadow color with incorrect data…
Browse files Browse the repository at this point in the history
… check.

SetLightAndFog already does this, but with correct checks.
  • Loading branch information
coelckers committed May 30, 2022
1 parent 990c828 commit f245a70
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/core/rendering/scene/hw_sprites.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit f245a70

Please sign in to comment.