mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
[0179] Use aura holder plts in visible aura structures instead of uint32's.
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
This commit is contained in:
parent
5bb39bc73a
commit
8d93e79e29
6 changed files with 16 additions and 17 deletions
|
|
@ -20827,11 +20827,7 @@ void Player::SendAurasForTarget(Unit* target)
|
|||
|
||||
Unit::VisibleAuraMap const& visibleAuras = target->GetVisibleAuras();
|
||||
for (Unit::VisibleAuraMap::const_iterator itr = visibleAuras.begin(); itr != visibleAuras.end(); ++itr)
|
||||
{
|
||||
SpellAuraHolderConstBounds bounds = target->GetSpellAuraHolderBounds(itr->second);
|
||||
for (SpellAuraHolderMap::const_iterator iter = bounds.first; iter != bounds.second; ++iter)
|
||||
iter->second->BuildUpdatePacket(data);
|
||||
}
|
||||
itr->second->BuildUpdatePacket(data);
|
||||
|
||||
GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue