From ac2c7ebad7e696a0e85f31f8ea36dbb87a5f44a6 Mon Sep 17 00:00:00 2001 From: Albirew Date: Sun, 20 Oct 2019 23:42:59 +0200 Subject: [PATCH] removed more retail functions ejected SpellFlyout and PlayerHasToy --- Button.lua | 2 +- Util.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Button.lua b/Button.lua index 811d822..16b4fd6 100644 --- a/Button.lua +++ b/Button.lua @@ -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); diff --git a/Util.lua b/Util.lua index 4b56600..9803068 100644 --- a/Util.lua +++ b/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