- changed Buddha powerup from a flag to an inventory check
This commit is contained in:
parent
b1a8ef54f6
commit
fe023b5ca4
3 changed files with 5 additions and 3 deletions
|
|
@ -2873,7 +2873,7 @@ FUNC(LS_SetPlayerProperty)
|
|||
// Add or remove a power
|
||||
if (arg2 >= PROP_INVULNERABILITY && arg2 <= PROP_SPEED)
|
||||
{
|
||||
static ENamedName powers[13] =
|
||||
static ENamedName powers[14] =
|
||||
{
|
||||
NAME_PowerInvulnerable,
|
||||
NAME_PowerStrength,
|
||||
|
|
@ -2887,7 +2887,8 @@ FUNC(LS_SetPlayerProperty)
|
|||
NAME_None,
|
||||
NAME_PowerSpeed,
|
||||
NAME_PowerInfiniteAmmo,
|
||||
NAME_PowerDoubleFiringSpeed
|
||||
NAME_PowerDoubleFiringSpeed,
|
||||
NAME_PowerBuddha
|
||||
};
|
||||
int power = arg2 - PROP_INVULNERABILITY;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue