Entity/Creature: Fix spawn health, for real this time. Closes #17757. Also for real this time.

This commit is contained in:
treeston authored and Aokromes committed 2016-08-12 11:59:44 +02:00
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