From 553db4840429e00f9c02a341a2501bd884c6acf2 Mon Sep 17 00:00:00 2001 From: ackis Date: Sun, 30 Aug 2009 00:55:55 +0000 Subject: [PATCH] Fix issue when you have a NPC in an instance and you're trying to display stuff on the maps it would just stop. --- ARLFrame.lua | 10 ++++------ Docs/CHANGES.txt | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ARLFrame.lua b/ARLFrame.lua index b1085ad..40f0cfa 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -551,10 +551,8 @@ do --@alpha@ addon:Print("DEBUG: No continent/zone map match for ID " .. k .. " - loc is nil.") --@end-alpha@ - return - end - - if (c1[loc["Location"]]) then + -- We have the location + elseif (c1[loc["Location"]]) then continent = 1 zone = c1[loc["Location"]] elseif (c2[loc["Location"]]) then @@ -570,13 +568,13 @@ do --@alpha@ addon:Print("DEBUG: No continent/zone map match for ID " .. k .. ".") --@end-alpha@ - return end - + if ((zone) and (continent)) then local iconuid = TomTom:AddZWaypoint(continent, zone, loc["Coordx"], loc["Coordy"], loc["Name"], false, minimap, worldmap) tinsert(iconlist, iconuid) end + end end -- addon:SetupMap() end -- do block diff --git a/Docs/CHANGES.txt b/Docs/CHANGES.txt index 731f1cc..5ef8a63 100644 --- a/Docs/CHANGES.txt +++ b/Docs/CHANGES.txt @@ -11,6 +11,7 @@ *Removed comment in code that was causing AntiVir to screw up. It's a fail anti-virus scanner. *Fix ATSW and Trade Junkie integrations (Thanks to Thrashfinger). *Faction specific recipes which cannot be acquired by the other side (The choppers and the new 3.2 patterns) are now automatically filtered. +*Fixed a map/mini-map coordinate display issue *All professions have skill level data added (exception being cooking and JC) ===RC10 -- 1.7.9.5