# HG changeset patch # User only1yzerman # Date 1369907087 14400 # Node ID a10b7ef54e09525fd2ede68c76975af87856246d # Parent 3fe17b1a54e36f26b06b03f14caea92f8f3d82c9 Fixed an LUA error effecting Shrine of Two Moons diff -r 3fe17b1a54e3 -r a10b7ef54e09 Bloodhound2.lua --- a/Bloodhound2.lua Mon May 20 16:18:09 2013 -0400 +++ b/Bloodhound2.lua Thu May 30 05:44:47 2013 -0400 @@ -93,7 +93,7 @@ local m = Minimap:GetZoom(); SetMapZoom(cmap, zmap); - if (c ~= player.C and c ~= 0) then -- reload continent data if continent has changed + 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]); Bloodhound2.OreNodes, Bloodhound2.ContinentOre = Bloodhound2.ReloadNodes(Bloodhound2.OreDatabase[c], Bloodhound2.ZoneDatum[c]); Bloodhound2.MiscNodes, Bloodhound2.ContinentNode = Bloodhound2.ReloadNodes(Bloodhound2.MiscDatabase[c], Bloodhound2.ZoneDatum[c]); @@ -283,7 +283,7 @@ local x = player.X; local y = player.Y; - if c == 0 or z == 0 then return 0,0 end -- don't draw arrow if using world coordinates + if c == 0 or z == 0 or c == -1 then return 0,0 end -- don't draw arrow if using world coordinates if not Bloodhound2.ZoneDatum then return 0,0 end local datum = Bloodhound2.ZoneDatum[c][z]; -- get scale and offset for current zone map diff -r 3fe17b1a54e3 -r a10b7ef54e09 Bloodhound2.toc --- a/Bloodhound2.toc Mon May 20 16:18:09 2013 -0400 +++ b/Bloodhound2.toc Thu May 30 05:44:47 2013 -0400 @@ -2,7 +2,7 @@ ## Title: Bloodhound2 ## Author: Paul Louis ## Former Author: Bret Mulvey -## Version: 2.0 +## Version: 2.0.2 ## HerbDB: 5/8/2013 ## OreDB: 5/9/2013 ## Notes: An herb and ore gathering add-on with a focus on ease-of-use.