Quantcast

Don't flip map to display coordinates

James Whitehead II [03-06-11 - 20:29]
Don't flip map to display coordinates
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index b561ba5..b3655c2 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -276,7 +276,7 @@ function TomTom:ReloadWaypoints()
 	self.waypoints = waypoints
 	self.waypointprofile = self.waydb.profile

-    local cm, cf, cx, cy = astrolabe:GetCurrentPlayerPosition()
+    local cm, cf, cx, cy = TomTom:GetCurrentPlayerPosition()

 	for mapId,data in pairs(self.waypointprofile) do
 		local same = mapId == cm
@@ -997,7 +997,7 @@ do
         if bcounter > TomTom.profile.block.throttle then
             bcounter = bcounter - TomTom.profile.block.throttle

-            local m,f,x,y = astrolabe:GetCurrentPlayerPosition()
+            local m,f,x,y = TomTom:GetCurrentPlayerPosition()

             local opt = TomTom.db.profile
             if not x or not y then