Quantcast

Fix a copy-and-paste error.

Johnny C. Lam [11-24-12 - 04:38]
Fix a copy-and-paste error.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@639 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleState.lua
diff --git a/OvaleState.lua b/OvaleState.lua
index 4916e60..91143f2 100644
--- a/OvaleState.lua
+++ b/OvaleState.lua
@@ -324,7 +324,7 @@ function OvaleState:AddSpellToStack(spellId, startCast, endCast, nextCast, nocd,
 									newAura.stacks = previousAura.stacks
 								else -- if stacks > 0
 									Ovale:Log("Aura "..auraSpellId.." gain stacks")
-									newAura.stacks = newAura.stacks + stacks
+									newAura.stacks = previousAura.stacks + stacks
 								end
 								newAura.start = previousAura.start
 								if isDoT then