diff options
| author | silver1ce <none@none> | 2010-01-15 19:23:59 +0200 | 
|---|---|---|
| committer | silver1ce <none@none> | 2010-01-15 19:23:59 +0200 | 
| commit | 0451e45e06a820e8ab769a11495c134c50cf1164 (patch) | |
| tree | 54c50700e0101abd21035d4342cbac6b10ea062b /src/game/Unit.cpp | |
| parent | b8ea34958c0716191f2eaab895f353d4818617e9 (diff) | |
parse CMSG_CHANGE_SEATS_ON_CONTROLLED_VEHICLE opcode in proper way
--HG--
branch : trunk
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();  | 
