- fixed: All powerup blend colors with an alpha of 0 were treated as 'has no color' for PowerupGivers.

This commit is contained in:
Christoph Oelckers 2014-12-03 13:05:50 +01:00
commit fbe14d59bb
2 changed files with 6 additions and 2 deletions

View file

@ -60,7 +60,8 @@ bool APowerupGiver::Use (bool pickup)
}
if (BlendColor != 0)
{
power->BlendColor = BlendColor;
if (BlendColor.a != 0) power->BlendColor = BlendColor;
else power->BlendColor = 0;
}
if (Mode != NAME_None)
{