From a2bf832005ef689e3eadf3185dc7a40f0989e231 Mon Sep 17 00:00:00 2001 From: ackis Date: Fri, 17 Jul 2009 16:47:36 +0000 Subject: [PATCH] Carbonite emulates TomTom so we can do the mini-map stuff if we have carbonite installed. Dry-coded. Can't really see what carbonite is doing since it's code is obfuscated. --- ARLConfig.lua | 2 +- ARLFrame.lua | 3 --- AckisRecipeList.toc | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ARLConfig.lua b/ARLConfig.lua index ac70134..6c0c834 100644 --- a/ARLConfig.lua +++ b/ARLConfig.lua @@ -1195,7 +1195,7 @@ local function giveMap() local tomtomsupport = true - if (TomTom) then + if ((TomTom) or ((TomTom) and (Carbonite))) then tomtomsupport = false end diff --git a/ARLFrame.lua b/ARLFrame.lua index fc03592..d9c2b8d 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -469,9 +469,6 @@ do local maplist = {} function addon:SetupMap(singlerecipe) if (not TomTom) then - --@debug@ - self:Print("TomTom not loaded, integration with the world map and mini-map disabled.") - --@end-debug@ return end diff --git a/AckisRecipeList.toc b/AckisRecipeList.toc index 00cd68e..5fe8525 100644 --- a/AckisRecipeList.toc +++ b/AckisRecipeList.toc @@ -44,7 +44,7 @@ ## X-Website: http://www.wowwiki.com/AckisRecipeList/ ## X-Feedback: http://wow.curse.com/downloads/wow-addons/details/arl.aspx -## OptionalDeps: Ace3, LibAboutPanel, LibBetterBlizzOptions-1.0, LibBabble-Zone-3.0, LibBabble-Faction-3.0, LibBabble-Boss-3.0, LibBabble-Class-3.0, LibSharedMedia-3.0, LibQTip-1.0, LibQTipClick-1.1, Skillet, ATSW, Manufac, Cauldron, TomTom, TipTac +## OptionalDeps: Ace3, LibAboutPanel, LibBetterBlizzOptions-1.0, LibBabble-Zone-3.0, LibBabble-Faction-3.0, LibBabble-Boss-3.0, LibBabble-Class-3.0, LibSharedMedia-3.0, LibQTip-1.0, LibQTipClick-1.1, Skillet, ATSW, Manufac, Cauldron, TomTom, TipTac, Carbonite ## DefaultState: Enabled ## X-WoWI-ID: 5061 -- 1.7.9.5