From 9548a8567b3de868fe1e468ce3f2f05fd880c268 Mon Sep 17 00:00:00 2001 From: treeston Date: Tue, 9 Aug 2016 00:19:22 +0200 Subject: [PATCH] Entity/Creature: Fix spawn health, for real this time. Closes #17757. Also for real this time. --- src/server/game/Entities/Creature/Creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Entities/Creature/Creature.cpp b/src/server/game/Entities/Creature/Creature.cpp index eb8e31b556..65898241b0 100644 --- a/src/server/game/Entities/Creature/Creature.cpp +++ b/src/server/game/Entities/Creature/Creature.cpp @@ -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