Added some debug code

Aaron DeGrow [05-02-14 - 13:43]
Added some debug code
Filename
RangeReticle.lua
diff --git a/RangeReticle.lua b/RangeReticle.lua
index d65657d..442914f 100755
--- a/RangeReticle.lua
+++ b/RangeReticle.lua
@@ -639,12 +639,14 @@ function OnRangeUpdate()
             	CHAT_SYSTEM:AddMessage("Content: " .. tostring(mapContentType))
             	local dimensionsX, dimensionsY = ZO_WorldMapContainer1:GetTextureFileDimensions()
             	CHAT_SYSTEM:AddMessage("Dimensions: " .. tostring(dimensionsX) .. ', ' .. tostring(dimensionsY))
-   				local actualSelfX = selfX * dimensionsX * mapWidth
-   				local actualSelfY = selfY * dimensionsY * mapHeight
-   				local actualTargetX = targetX * dimensionsX * mapWidth
-   				local actualTargetY = targetY * dimensionsY * mapHeight
-   				local dist = math.sqrt(math.pow((actualSelfX - actualTargetX), 2) + math.pow((actualSelfY - actualTargetY), 2))
-   				CHAT_SYSTEM:AddMessage("Dist: " .. tostring(dist))
+            	CHAT_SYSTEM:AddMessage("Self: " .. tostring(selfX) .. ', ' .. tostring(selfY))
+            	CHAT_SYSTEM:AddMessage("Target: " .. tostring(targetX) .. ', ' .. tostring(targetY))
+   				--local actualSelfX = selfX * dimensionsX * mapWidth
+   				--local actualSelfY = selfY * dimensionsY * mapHeight
+   				--local actualTargetX = targetX * dimensionsX * mapWidth
+   				--local actualTargetY = targetY * dimensionsY * mapHeight
+   				--local dist = math.sqrt(math.pow((actualSelfX - actualTargetX), 2) + math.pow((actualSelfY - actualTargetY), 2))
+   				--CHAT_SYSTEM:AddMessage("Dist: " .. tostring(dist))
             end

 			local dist = math.sqrt(math.pow((selfX - targetX) / divisor, 2) + math.pow((selfY - targetY) / divisor, 2))