diff options
| author | megamage <none@none> | 2009-02-24 20:05:29 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-24 20:05:29 -0600 |
| commit | fe5fa582752175e3e44f28416ed5e534fb11c2fb (patch) | |
| tree | 9b4d1023ed739a09fc2a7561ba954a4e60dfd373 /src/game/Creature.cpp | |
| parent | a8573dbe74d5bb0c1f0721fda4de3d619d52ebfd (diff) | |
*Try to fix some crash bug related to grid.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 2 |
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); |
