mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Merge branch 'maint'
This commit is contained in:
commit
3bcc4078b1
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 (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 );
|
S_Sound(Owner, CHAN_ITEM, "*regenerate", 1, ATTN_NORM );
|
||||||
}
|
}
|
||||||
|
|
|
@ -300,6 +300,7 @@ ACTOR PowerDrain : Powerup native
|
||||||
ACTOR PowerRegeneration : Powerup native
|
ACTOR PowerRegeneration : Powerup native
|
||||||
{
|
{
|
||||||
Powerup.Duration -120
|
Powerup.Duration -120
|
||||||
|
Powerup.Strength 5
|
||||||
}
|
}
|
||||||
|
|
||||||
ACTOR PowerHighJump : Powerup native {}
|
ACTOR PowerHighJump : Powerup native {}
|
||||||
|
|
Loading…
Reference in a new issue