[10995] Not do redundent unlock aura holder at each proccessed spell proc handler.

Aura holder unlock called later by code.
This prevent unexpected real aura delete at early effect aura proccessing
and crash at next effect aura proccessing.
This commit is contained in:
VladimirMangos 2011-01-10 13:46:12 +03:00
parent 648849e25b
commit 2d2b17dd3a
2 changed files with 2 additions and 2 deletions

View file

@ -9828,8 +9828,8 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
}
anyAuraProc = true;
triggeredByAura->SetInUse(false);
}
// Remove charge (aura can be removed by triggers)
if(useCharges && procSuccess && anyAuraProc && !triggeredByHolder->IsDeleted())
{