WoWInterface SVN BuyEmAll

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

BuyEmAll/BuyEmAll.lua
1,14 → 1,13
-- BuyEmAll - By Cogwheel.
 
BuyEmAll = {}
 
local L = BUYEMALL_LOCALS
local IS_WRATH = tonumber(select(4, GetBuildInfo())) >= 30000
 
-- These are used for the text on the Max and Stack buttons. See BuyEmAll.xml.
BUYEMALL_MAX = L.MAX
BUYEMALL_STACK = L.STACK
 
 
--[[
It's ALIVE!!! Muahahahahhahahaa!!!!!!
]]
24,8 → 23,12
}
 
self.OrigMerchantItemButton_OnModifiedClick = MerchantItemButton_OnModifiedClick
MerchantItemButton_OnModifiedClick = function(button, ...)
return self:MerchantItemButton_OnModifiedClick(button, ...)
MerchantItemButton_OnModifiedClick = function(...)
if IS_WRATH then
return self:MerchantItemButton_OnModifiedClick(...)
else
self:MerchantItemButton_OnModifiedClick(this, ...)
end
end
 
self.OrigMerchantFrame_OnHide = MerchantFrame:GetScript("OnHide")
46,7 → 49,11
collapse = 1,
}
BuyEmAllMoneyFrame.small = 1
MoneyFrame_SetType(frame, "BUYEMALL")
if IS_WRATH then
MoneyFrame_SetType(frame, "BUYEMALL")
else
MoneyFrame_SetType("BUYEMALL")
end
end