From 0ed61605742c1671826f1b5e9e6cd87bf812cbc0 Mon Sep 17 00:00:00 2001 From: djes Date: Fri, 22 Jul 2016 19:32:21 +0200 Subject: [PATCH] Wip Lil bugfix --- osm.pb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osm.pb b/osm.pb index a33ff34..be7f138 100644 --- a/osm.pb +++ b/osm.pb @@ -706,8 +706,8 @@ Module OSM ;Moved to a new tile ? If (Int(OSM\Position\x / OSM\TileSize)) <> (Int(OldX / OSM\TileSize)) Or (Int(OSM\Position\y / OSM\TileSize)) <> (Int(OldY / OSM\TileSize)) Debug "--- New tile" - *TargetTile\x = TileX - *TargetTile\y = TileY + *Drawing\x = TileX + *Drawing\y = TileY Debug "OSM\Position\x " + Str(OSM\Position\x) + " ; OSM\Position\y " + Str(OSM\Position\y) XY2LatLon(*Drawing, @OSM\TargetLocation) Debug "OSM\TargetTile\x " + StrD(*Drawing\x) + " ; OSM\TargetTile\y " + StrD(*Drawing\y)