mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[10813] Use ObjectGuid for aura holder cast item guid.
Still exist 7 GUID_LOPART uses in code.
This commit is contained in:
parent
0a964e43a9
commit
957c9331a9
6 changed files with 15 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue