aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 195bc6230ee..c454353955c 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -3242,9 +3242,13 @@ void Unit::_UpdateSpells( uint32 time )
++i;
}
+ WorldPacket data(SMSG_AURA_UPDATE, 50);
+ data.append(GetPackGUID());
for (VisibleAuraMap::iterator itr = m_visibleAuras.begin(); itr != m_visibleAuras.end(); ++itr)
if (itr->second->IsNeedClientUpdate())
- itr->second->ClientUpdate();
+ itr->second->ConstructAuraInfo(data);
+
+ SendMessageToSet(&data, true);
_DeleteRemovedAuras();