aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-18 09:51:45 -0600
committermegamage <none@none>2008-12-18 09:51:45 -0600
commitd97133571a5b16cd320bc63b45b4715c8614ce27 (patch)
tree6405fe38c0d8e5763e8fd30b8fa4eb3d000ce374
parent0f1f748138495ec80e079227c0002e233b3173bd (diff)
*Fix the display of aura charge/stack.
--HG-- branch : trunk
-rw-r--r--src/game/SpellAuras.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 8e791020ad8..3d8ec73476b 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1075,7 +1075,11 @@ void Aura::UpdateSlotCounterAndDuration()
if(slot >= MAX_AURAS)
return;
- if(!m_procCharges)
+ // Three possibilities:
+ // Charge = 0; Stack >= 0
+ // Charge = 1; Stack >= 0
+ // Charge > 1; Stack = 0
+ if(m_procCharges < 2)
SetAuraApplication(slot, m_stackAmount-1);
UpdateAuraDuration();