diff options
Diffstat (limited to 'ship_cmd.c')
-rw-r--r-- | ship_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c index 9d7a8553e..a7da76f95 100644 --- a/ship_cmd.c +++ b/ship_cmd.c @@ -546,7 +546,7 @@ static int ChooseShipTrack(Vehicle *v, uint tile, int dir, uint tracks) uint tile2; assert(dir>=0 && dir<=3); - tile2 = TILE_ADD(tile, -_tileoffs_by_dir[dir]); + tile2 = TILE_ADD(tile, -TileOffsByDir(dir)); dir ^= 2; tot_dist = (uint)-1; b = GetTileShipTrackStatus(tile2) & _ship_sometracks[dir] & v->u.ship.state; |