mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Process events for dead creatures. This allows delayed spells to work after caster is dead.
--HG-- branch : trunk
This commit is contained in:
@@ -455,6 +455,9 @@ void Creature::Update(uint32 diff)
|
||||
}
|
||||
else
|
||||
{
|
||||
// for delayed spells
|
||||
m_Events.Update( diff );
|
||||
|
||||
m_deathTimer -= diff;
|
||||
if (m_groupLootTimer && lootingGroupLeaderGUID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user