diff options
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 4347549495e..0def0e22e49 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -3252,18 +3252,9 @@ void Unit::_UpdateSpells( uint32 time ) ++i; } - WorldPacket auras; for (VisibleAuraMap::iterator itr = m_visibleAuras.begin(); itr != m_visibleAuras.end(); ++itr) if (itr->second->IsNeedClientUpdate()) - itr->second->ConstructAuraInfo(auras); - - if(auras.wpos()) - { - WorldPacket data(SMSG_AURA_UPDATE, GetPackGUID().size() + auras.wpos()); - data.append(GetPackGUID()); - data.append(auras); - SendMessageToSet(&data, true); - } + itr->second->ClientUpdate(); _DeleteRemovedAuras(); |