diff options
Diffstat (limited to 'pathfind.h')
-rw-r--r-- | pathfind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathfind.h b/pathfind.h index 07f42753e..ea9038ea3 100644 --- a/pathfind.h +++ b/pathfind.h @@ -14,7 +14,7 @@ typedef void TPFAfterProc(TrackPathFinder *tpf); * 0 0 y7 y6 y5 y4 y3 y2 y1 y0 x4 x3 x2 x1 x0 0 * 0 0 0 0 y5 y4 y3 y2 y1 y0 x4 x3 x2 x1 x0 0 */ -#define PATHFIND_HASH_TILE(tile) (GET_TILE_X(tile) & 0x1F) + ((GET_TILE_Y(tile)&0x1F)<<5) +#define PATHFIND_HASH_TILE(tile) (TileX(tile) & 0x1F) + ((TileY(tile) & 0x1F) << 5) typedef struct TrackPathFinderLink { TileIndex tile; |