From 8c9671682967d1355c17ef9c4f17643278dbdaa1 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Sun, 6 Jun 2010 01:55:02 -0500 Subject: [PATCH] Fixed weapon comparisons when comparing a one-hand weapon to an equipped two-hand weapon on dual-wield-capable classes --- WeightsWatcher.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua index 0e7c705..58c57f4 100644 --- a/WeightsWatcher.lua +++ b/WeightsWatcher.lua @@ -477,7 +477,9 @@ local function determineCompareMethod(currentSlot, compareSlot, compareSlot2, cu return "empty" end elseif currentSlot == "one-hand" then - if checkForDualWield() then + if compareSlot == "two-hand" then + return "1" + elseif checkForDualWield() then if compareSlot and compareSlot2 then return "worst" end -- 1.7.9.5