*Fix a crash.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-05-23 11:26:08 +02:00
parent 4d9bce3270
commit 73faabbc49
3 changed files with 11 additions and 9 deletions

View File

@@ -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;
}