summaryrefslogtreecommitdiff
path: root/npf.c
diff options
context:
space:
mode:
Diffstat (limited to 'npf.c')
-rw-r--r--npf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/npf.c b/npf.c
index 9fa563a9c..803068aff 100644
--- a/npf.c
+++ b/npf.c
@@ -81,7 +81,7 @@ TileIndex CalcClosestStationTile(int station, TileIndex tile) {
ty = y3;
// return the tile of our target coordinates
- return TILE_XY(tx,ty);
+ return TileXY(tx, ty);
};
/* Calcs the heuristic to the target station or tile. For train stations, it