Quantcast

fixed index change for shield from 6 to 7

Alex Shubert [10-13-13 - 10:05]
fixed index change for shield from 6 to 7
Filename
rewards_const.lua
ui/reward_options.lua
diff --git a/rewards_const.lua b/rewards_const.lua
index 9d80d62..873be74 100644
--- a/rewards_const.lua
+++ b/rewards_const.lua
@@ -33,7 +33,7 @@ C.ITEMS = {
 	['Leather'] = armor[3],
 	['Mail'] = armor[4],
 	['Plate'] = armor[5],
-	['Shields'] = armor[6],
+	['Shields'] = armor[7], -- from 5.4 '6' is a cosmetic
 	--[[3rd slot
 	['Librams'] = armor[7],
 	['Idols'] = armor[8],
diff --git a/ui/reward_options.lua b/ui/reward_options.lua
index de7e82d..cf36874 100644
--- a/ui/reward_options.lua
+++ b/ui/reward_options.lua
@@ -95,7 +95,7 @@ end)
 UIDropDownMenu_SetWidth(ArmorDropDown, 200);
 UIDropDownMenu_JustifyText(ArmorDropDown, "LEFT")
 ArmorDropDown:SetPoint("TOPLEFT", ArmorPanel, 0, -8)
-CreateCheckbox(armor[6], ArmorPanel, 402, -8)
+CreateCheckbox(armor[7], ArmorPanel, 402, -8)
 	-- 2nd line
 CreateCheckbox("Jewelry", ArmorPanel, 10, -40, L['Jewelry'] )
 CreateCheckbox('INVTYPE_HOLDABLE', ArmorPanel, 206, -40, INVTYPE_HOLDABLE)