Fix auras applied by traveling spells.
Johnny C. Lam [03-24-13 - 09:17]
Fix auras applied by traveling spells.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@830 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleState.lua b/OvaleState.lua
index 9a54db4..a32206d 100644
--- a/OvaleState.lua
+++ b/OvaleState.lua
@@ -403,7 +403,7 @@ function OvaleState:ApplySpell(spellId, startCast, endCast, nextCast, nocd, targ
stacks = 1
end
- local oldStart, oldEnding, oldStacks, oldSpellHasteMultiplier = self:GetAuraByGUID(auraGUID, auraSpellId, true, filter, target)
+ local oldStart, oldEnding, oldStacks, oldSpellHasteMultiplier = self:GetAuraByGUID(auraGUID, auraSpellId, filter, true, target)
local newAura = self:NewAura(auraGUID, auraSpellId, filter)
newAura.mine = true