[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:
Yaki Khadafi 2012-08-24 21:55:59 +03:00 committed by Antz
parent 5bb39bc73a
commit 8d93e79e29
6 changed files with 16 additions and 17 deletions

View file

@ -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);
}