diff options
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 921a592b6..8a9a366f9 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2730,6 +2730,8 @@ Town *ClosestTownFromTile(TileIndex tile, uint threshold) { switch (GetTileType(tile)) { case MP_ROAD: + if (IsRoadDepot(tile)) return CalcClosestTownFromTile(tile, threshold); + if (!HasTownOwnedRoad(tile)) { TownID tid = GetTownIndex(tile); |