mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Fix a crash.
--HG-- branch : trunk
This commit is contained in:
@@ -3818,7 +3818,7 @@ bool Unit::AddAura(Aura *Aur, bool handleEffects)
|
||||
uint8 stackAmount = foundAura->GetStackAmount() + 1;
|
||||
if (stackAmount > aurSpellInfo->StackAmount)
|
||||
stackAmount = aurSpellInfo->StackAmount;
|
||||
Aur->SetStackAmount(stackAmount);
|
||||
Aur->SetStackAmount(stackAmount, false);
|
||||
RemoveAura(foundAura, AURA_REMOVE_BY_STACK);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user