From 5bf70aa98652dd4f488bc76262c38279626001d9 Mon Sep 17 00:00:00 2001 From: ackis Date: Wed, 2 Sep 2009 18:01:19 +0000 Subject: [PATCH] Lets check for range of valid coords too. --- ARLFrame.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 1.7.9.5