mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-02-20 18:32:06 +00:00
- Use SpawnHealth() when calling A_ResetHealth.
This commit is contained in:
parent
301c061ec3
commit
d1cca79c31
1 changed files with 1 additions and 1 deletions
|
@ -5795,7 +5795,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_ResetHealth)
|
|||
}
|
||||
else if (mobj && (mobj->health > 0))
|
||||
{
|
||||
mobj->health = mobj->GetDefault()->health;
|
||||
mobj->health = mobj->SpawnHealth();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue