[10813] Use ObjectGuid for aura holder cast item guid.

Still exist 7 GUID_LOPART uses in code.
This commit is contained in:
VladimirMangos 2010-12-02 07:59:21 +03:00
parent 0a964e43a9
commit 957c9331a9
6 changed files with 15 additions and 15 deletions

View file

@ -4579,7 +4579,7 @@ void Unit::RemoveAurasDueToItemSpell(Item* castItem,uint32 spellId)
SpellAuraHolderBounds bounds = GetSpellAuraHolderBounds(spellId);
for (SpellAuraHolderMap::iterator iter = bounds.first; iter != bounds.second; )
{
if (iter->second->GetCastItemGUID() == castItem->GetGUID())
if (iter->second->GetCastItemGuid() == castItem->GetObjectGuid())
{
RemoveSpellAuraHolder(iter->second);
bounds = GetSpellAuraHolderBounds(spellId);