diff --git a/IceHUD.lua b/IceHUD.lua index 9d2b7a3..f1f58c2 100644 --- a/IceHUD.lua +++ b/IceHUD.lua @@ -36,6 +36,7 @@ else end -- compatibility/feature flags +IceHUD.CanShowTargetCasting = not IceHUD.WowClassic or LibClassicCasterino or (IceHUD.WowClassic and IceHUD.WowVer >= 11500) IceHUD.GetPlayerAuraBySpellID = _G["C_UnitAuras"] and C_UnitAuras.GetPlayerAuraBySpellID IceHUD.SpellFunctionsReturnRank = IceHUD.WowMain and IceHUD.WowVer < 80000 IceHUD.EventExistsPlayerPetChanged = IceHUD.WowMain and IceHUD.WowVer < 80000 diff --git a/modules/TargetCast.lua b/modules/TargetCast.lua index 842409e..7a86719 100644 --- a/modules/TargetCast.lua +++ b/modules/TargetCast.lua @@ -204,6 +204,6 @@ end -- Fulzamoth 2019-09-27 : load in Classic if LibClassicCasterino exists -- Load us up -if not IceHUD.WowClassic or LibClassicCasterino then +if IceHUD.CanShowTargetCasting then IceHUD.TargetCast = TargetCast:new() end