changeset 10:8875b9029a32 Release

Fixed Bug 3: Having Bloodhound2 enabled cause graphic glitches with quest tracking icons and map tooltips. Marking as beta for further testing.
author only1yzerman
date Mon, 24 Jun 2013 07:48:29 -0400
parents 23b38b681d43
children 61b30721d4cf
files Bloodhound2.lua
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Bloodhound2.lua	Mon Jun 24 06:42:50 2013 -0400
+++ b/Bloodhound2.lua	Mon Jun 24 07:48:29 2013 -0400
@@ -85,7 +85,9 @@
 
 			local cmap = GetCurrentMapContinent();
 			local zmap = GetCurrentMapZone();
-			SetMapToCurrentZone();
+			if(WorldMapFrame:IsVisible() ~= 1) then 
+        SetMapToCurrentZone();
+      end
 			local c = GetCurrentMapContinent();				-- get current player position
 			local z = GetCurrentMapZone();
 			local x, y = GetPlayerMapPosition("player");
@@ -94,7 +96,9 @@
 			local ztxt = GetZoneText();
 			local zstxt = GetSubZoneText();
 			local badzones =  { "","The Star's Bazaar", "The Emperor's Step", "The Golden Lantern", "Chamber of Reflection", "The Imperial Exchange", "Path of Serenity", "Ethereal Corridor", "The Celestial Vault", "Chamber of Enlightenment" }
-			SetMapZoom(cmap, zmap);
+			if(WorldMapFrame:IsVisible() ~= 1) then 
+			    SetMapZoom(cmap, zmap);
+			end
            
             if (c ~= player.C and c ~= 0 and c ~= -1) then						-- reload continent data if continent has changed
                 Bloodhound2.HerbNodes, Bloodhound2.ContinentHerbs = Bloodhound2.ReloadNodes(Bloodhound2.HerbDatabase[c], Bloodhound2.ZoneDatum[c]);