--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-24 21:14:00 -06:00
10 changed files with 244 additions and 379 deletions
+2
View File
@@ -1670,6 +1670,8 @@ void Creature::setDeathState(DeathState s)
}
if(s == JUST_ALIVED)
{
if(isPet())
setActive(true);
SetHealth(GetMaxHealth());
SetLootRecipient(NULL);
Unit::setDeathState(ALIVE);