aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r--src/game/Creature.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 0e649c66c01..ece6ea3e527 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -1675,6 +1675,8 @@ void Creature::setDeathState(DeathState s)
}
if(s == JUST_ALIVED)
{
+ if(isPet())
+ setActive(true);
SetHealth(GetMaxHealth());
SetLootRecipient(NULL);
Unit::setDeathState(ALIVE);