- Fixed: Powerup.Color's handler contained an unnecessary 'else' which resulted

in opaque powerup blends.

SVN r1252 (trunk)
This commit is contained in:
Christoph Oelckers 2008-10-05 08:50:47 +00:00
commit d9ab611db2
8 changed files with 281 additions and 41 deletions

View file

@ -1718,7 +1718,7 @@ DEFINE_CLASS_PROPERTY_PREFIX(powerup, color, C_f, Inventory)
color = V_GetColor(NULL, name);
}
else if (PROP_PARM_COUNT > 1)
if (PROP_PARM_COUNT > 2)
{
PROP_FLOAT_PARM(falpha, 2);
alpha=int(falpha*255);