removed more retail functions
ejected SpellFlyout and PlayerHasToy
Cette révision appartient à :
Parent
bb1a1f76c7
révision
ac2c7ebad7
|
@ -1499,7 +1499,7 @@ function Button:UpdateUsableSpell()
|
|||
end
|
||||
function Button:UpdateUsableItem()
|
||||
local IsUsable, NotEnoughMana = IsUsableItem(self.ItemId);
|
||||
IsUsable = IsUsable or PlayerHasToy(self.ItemId);
|
||||
-- IsUsable = IsUsable or PlayerHasToy(self.ItemId);
|
||||
if (IsUsable) then
|
||||
self.WIcon:SetVertexColor(1.0, 1.0, 1.0);
|
||||
self.WNormalTexture:SetVertexColor(1.0, 1.0, 1.0);
|
||||
|
|
2
Util.lua
2
Util.lua
|
@ -1506,7 +1506,7 @@ end
|
|||
function Util.SetCursor(Command, Data, Subvalue, Subsubvalue)
|
||||
ClearCursor();
|
||||
UILib.StopDraggingIcon();
|
||||
SpellFlyout:Hide();
|
||||
-- SpellFlyout:Hide();
|
||||
if (Command == "spell") then
|
||||
PickupSpell(Subsubvalue);
|
||||
elseif (Command == "item") then
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket