Quantcast

Rename SpellInfo() parameter from "minCombo" to "mincombo".

Johnny C. Lam [04-06-14 - 18:46]
Rename SpellInfo() parameter from "minCombo" to "mincombo".

Most other parameters don't use camel-case, so adhere to precedence.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1272 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleBestAction.lua
diff --git a/OvaleBestAction.lua b/OvaleBestAction.lua
index 294e622..d752f94 100644
--- a/OvaleBestAction.lua
+++ b/OvaleBestAction.lua
@@ -753,8 +753,8 @@ function OvaleBestAction:GetActionInfo(element)
 				return nil
 			end
 			if si.combo == 0 then
-				local minCombo = si.minCombo or 1
-				if state.combo < minCombo then
+				local mincombo = si.mincombo or 1
+				if state.combo < mincombo then
 					-- Spell is a combo point finisher, but player has too few combo points on the target.
 					return nil
 				end