- removed weirdness from Powerup.Strength property that was specifically tailored to its use on PowerInvisibility and made its use problematic elsewhere.
This commit is contained in:
parent
3300566493
commit
ecfe67dd78
2 changed files with 4 additions and 5 deletions
|
|
@ -2113,9 +2113,8 @@ DEFINE_CLASS_PROPERTY_PREFIX(powerup, strength, F, Inventory)
|
|||
I_Error("\"powerup.strength\" requires an actor of type \"Powerup\"\n");
|
||||
return;
|
||||
}
|
||||
// Puts a percent value in the 0.0..1.0 range
|
||||
PROP_FIXED_PARM(f, 0);
|
||||
*pStrength = f / 100;
|
||||
*pStrength = f;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue