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 161939be2..ba8e288ba 100644 --- a/ship_cmd.c +++ b/ship_cmd.c @@ -84,7 +84,7 @@ static int FindClosestShipDepot(Vehicle *v) for(i=0; i!=lengthof(_depots); i++) { tile = _depots[i].xy; - if (IS_TILETYPE(tile, MP_WATER) && _map_owner[tile] == owner) { + if (IsTileType(tile, MP_WATER) && _map_owner[tile] == owner) { dist = GetTileDist(tile, tile2); if (dist < best_dist) { best_dist = dist; |