From 73faabbc491e72c4189f15c62546cdecf0f6bd39 Mon Sep 17 00:00:00 2001 From: QAston Date: Sat, 23 May 2009 11:26:08 +0200 Subject: *Fix a crash. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f718fc3e8f7..cce161acaae 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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; } -- cgit v1.2.3