Entity/Creature: Fix spawn health, for real this time. Closes #17757. Also for real this time.
This commit is contained in:
1 parent
34a8f8473b
commit
9548a8567b
1 file changed
+1
-1
@@ -1469,7 +1469,7 @@ void Creature::SetSpawnHealth()
|
||||
SetPower(POWER_MANA, GetMaxPower(POWER_MANA));
|
||||
}
|
||||
|
||||
SetHealth(m_deathState == ALIVE ? curhealth : 0);
|
||||
SetHealth((m_deathState == ALIVE || m_deathState == JUST_RESPAWNED) ? curhealth : 0);
|
||||
}
|
||||
|
||||
bool Creature::hasQuest(uint32 quest_id) const
|
||||
|
||||
Reference in new issue
Block a user