mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- removed redundant setting of black shadow color with incorrect data check.
SetLightAndFog already does this, but with correct checks.
This commit is contained in:
parent
990c8287fc
commit
f245a70883
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue