aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-13 10:53:31 -0500
committermegamage <none@none>2009-05-13 10:53:31 -0500
commit4cf3ca42f09fc66d48740f53cb33a8f0788b8e7a (patch)
tree02b6221353933ee0285075b5366c18f345ca163d
parentf1fed2d9472e8f9cb4cd2f7d570006d0bf3cfabe (diff)
*Process events for dead creatures. This allows delayed spells to work after caster is dead.
--HG-- branch : trunk
-rw-r--r--src/game/Creature.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index 85109997390..f322d8326e1 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -455,6 +455,9 @@ void Creature::Update(uint32 diff)
}
else
{
+ // for delayed spells
+ m_Events.Update( diff );
+
m_deathTimer -= diff;
if (m_groupLootTimer && lootingGroupLeaderGUID)
{