Quantcast

Add some debugging in to find invallid locations.

ackis [09-02-09 - 17:59]
Add some debugging in to find invallid locations.
Filename
ARLFrame.lua
diff --git a/ARLFrame.lua b/ARLFrame.lua
index cd8a4d2..916d718 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -775,6 +775,11 @@ do
 			end

 			if ((zone) and (continent)) then
+				--@alpha@
+				if (x == 0) and (y == 0) then
+					addon:Print("DEBUG: Location is 0,0 for ID " .. k .. " Location: " .. location)
+				end
+				--@end-alpha@
 				local iconuid = TomTom:AddZWaypoint(continent, zone, x, y, n, false, minimap, worldmap)
 				tinsert(iconlist, iconuid)
 			end