(svn r2487) Replace TILE_XY by TileXY/TileDiffXY

This commit is contained in:
tron
2005-06-25 16:44:57 +00:00
parent 61f6f07edd
commit bec5e4fb4c
30 changed files with 240 additions and 229 deletions

2
npf.c
View File

@@ -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