diff options
Diffstat (limited to 'src/game/Creature.cpp')
-rw-r--r-- | src/game/Creature.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 5c3bf884e21..cc2bc64ae39 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -235,6 +235,10 @@ void Creature::RemoveCorpse() setDeathState(DEAD); ObjectAccessor::UpdateObjectVisibility(this); loot.clear(); + uint32 respawnDelay = m_respawnDelay; + if (AI()) + AI()->CorpseRemoved(respawnDelay); + m_respawnTime = time(NULL) + m_respawnDelay; float x,y,z,o; |