- let APowerRegeneration use the Strength property to define the amount of regeneration it gives.
This commit is contained in:
parent
211d293002
commit
1c889dc9fa
2 changed files with 2 additions and 1 deletions
|
|
@ -1697,7 +1697,7 @@ void APowerRegeneration::DoEffect()
|
|||
{
|
||||
if (Owner != NULL && Owner->health > 0 && (level.time & 31) == 0)
|
||||
{
|
||||
if (P_GiveBody(Owner, 5))
|
||||
if (P_GiveBody(Owner, Strength))
|
||||
{
|
||||
S_Sound(Owner, CHAN_ITEM, "*regenerate", 1, ATTN_NORM );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue