- Use SpawnHealth() when calling A_ResetHealth.

This commit is contained in:
Christoph Oelckers 2015-01-23 20:29:38 +01:00
parent 301c061ec3
commit d1cca79c31

View file

@ -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();
}
}