mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- 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()
|
void APowerRegeneration::DoEffect()
|
||||||
{
|
{
|
||||||
|
Super::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, Strength/FRACUNIT))
|
if (P_GiveBody(Owner, Strength/FRACUNIT))
|
||||||
|
|
Loading…
Reference in a new issue