Enable TargetCastBar on Classic-era 1.15+

This commit is contained in:
Parnic
2023-12-10 18:58:08 -06:00
parent 140596b930
commit c72b67235d
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ else
end end
-- compatibility/feature flags -- 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.GetPlayerAuraBySpellID = _G["C_UnitAuras"] and C_UnitAuras.GetPlayerAuraBySpellID
IceHUD.SpellFunctionsReturnRank = IceHUD.WowMain and IceHUD.WowVer < 80000 IceHUD.SpellFunctionsReturnRank = IceHUD.WowMain and IceHUD.WowVer < 80000
IceHUD.EventExistsPlayerPetChanged = IceHUD.WowMain and IceHUD.WowVer < 80000 IceHUD.EventExistsPlayerPetChanged = IceHUD.WowMain and IceHUD.WowVer < 80000

View File

@ -204,6 +204,6 @@ end
-- Fulzamoth 2019-09-27 : load in Classic if LibClassicCasterino exists -- Fulzamoth 2019-09-27 : load in Classic if LibClassicCasterino exists
-- Load us up -- Load us up
if not IceHUD.WowClassic or LibClassicCasterino then if IceHUD.CanShowTargetCasting then
IceHUD.TargetCast = TargetCast:new() IceHUD.TargetCast = TargetCast:new()
end end