- fixed: APowerRegeneration::DoEffect did not call the super method.
This commit is contained in:
parent
203f88ce6e
commit
3cb4eb44a8
1 changed files with 1 additions and 0 deletions
|
|
@ -1757,6 +1757,7 @@ IMPLEMENT_CLASS(APowerRegeneration)
|
|||
|
||||
void APowerRegeneration::DoEffect()
|
||||
{
|
||||
Super::DoEffect();
|
||||
if (Owner != NULL && Owner->health > 0 && (level.time & 31) == 0)
|
||||
{
|
||||
if (P_GiveBody(Owner, Strength/FRACUNIT))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue