From fdd769a186b22a2b3ae22c02432f9ec249c59ea7 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 9 Feb 2013 07:02:47 +0000 Subject: [PATCH] Fix long-standing typo that may have caused bugs in Other*() conditions. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@683 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleAura.lua | 2 +- OvaleState.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OvaleAura.lua b/OvaleAura.lua index 2203ec6..c309c60 100644 --- a/OvaleAura.lua +++ b/OvaleAura.lua @@ -348,7 +348,7 @@ function OvaleAura:GetExpirationTimeOnAnyTarget(spellId, excludingTarget) if aura then local newEnding = aura.ending local newStarting = aura.start - if newStarting and (not staring or newStarting < starting) then + if newStarting and (not starting or newStarting < starting) then starting = newStarting end if newEnding and (not ending or newEnding > ending) then diff --git a/OvaleState.lua b/OvaleState.lua index 5512eef..1744f0e 100644 --- a/OvaleState.lua +++ b/OvaleState.lua @@ -456,7 +456,7 @@ function OvaleState:GetExpirationTimeOnAnyTarget(spellId, excludingTarget) if aura and aura.serial == self.serial then local newEnding = aura.ending local newStarting = aura.start - if newStarting and (not staring or newStarting < starting) then + if newStarting and (not starting or newStarting < starting) then starting = newStarting end if newEnding and (not ending or newEnding > ending) then -- 1.7.9.5