From 53524acf1b62c9e59a7258952ce9c59a344271e9 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Fri, 4 Mar 2011 17:53:32 +0000 Subject: [PATCH] Fix proximity and POI integration --- TomTom_POIIntegration.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/TomTom_POIIntegration.lua b/TomTom_POIIntegration.lua index d23d856..17f016f 100644 --- a/TomTom_POIIntegration.lua +++ b/TomTom_POIIntegration.lua @@ -68,6 +68,7 @@ local function ObjectivesChanged() local dist, xd, yd = astrolabe:ComputeDistance(map, floor, px, py, map, floor, x, y) if dist < closestdist then closest = watchIndex + closestdist = dist end end watchIndex = watchIndex + 1 -- 1.7.9.5