removed more retail functions

ejected SpellFlyout and PlayerHasToy
Cette révision appartient à :
Albirew 2019-10-20 23:42:59 +02:00
Parent bb1a1f76c7
révision ac2c7ebad7
2 fichiers modifiés avec 2 ajouts et 2 suppressions

Voir le fichier

@ -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);

Voir le fichier

@ -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