Lets check for range of valid coords too.
ackis [09-02-09 - 18:01]
Lets check for range of valid coords too.
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 916d718..80ec5f6 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -774,6 +774,12 @@ do
--@end-alpha@
end
+ --@alpha@
+ if (x < -100) or (x > 100) or (y < -100) or (y > 100) then
+ addon:Print("DEBUG: Invalid location coordinates for ID " .. k .. " Location: " .. location)
+ end
+ --@end-alpha@
+
if ((zone) and (continent)) then
--@alpha@
if (x == 0) and (y == 0) then