summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index da42a4447..8f90b8d21 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -1348,7 +1348,7 @@ int32 CmdRemoveRoadStop(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
Owner cur_owner = _current_player;
if (is_towns_road) {
- index = ClosestTownFromTile(tile, _patches.dist_local_authority)->index;
+ index = ClosestTownFromTile(tile, (uint)-1)->index;
_current_player = OWNER_TOWN;
}
DoCommand(tile, road_bits, index, DC_EXEC, CMD_BUILD_ROAD);