mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[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:
parent
648849e25b
commit
2d2b17dd3a
2 changed files with 2 additions and 2 deletions
|
|
@ -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())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue