- Fixed: Powerup.Color's handler contained an unnecessary 'else' which resulted
in opaque powerup blends. SVN r1252 (trunk)
This commit is contained in:
parent
1cf770271c
commit
d9ab611db2
8 changed files with 281 additions and 41 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue