summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-02-04 15:29:50 +0000
committerrubidium <rubidium@openttd.org>2011-02-04 15:29:50 +0000
commit4355231f677b2ad779daaab701444c5b003cdaed (patch)
treef1e56a46ce1658ea03125942a87fd51ab11cb51d /src/station_cmd.cpp
parent4c5ca174861c4324761b31de5a98a5c9a7d976df (diff)
downloadopenttd-4355231f677b2ad779daaab701444c5b003cdaed.tar.xz
(svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 5997bb4d4..6f7e6450a 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -1150,9 +1150,6 @@ CommandCost CmdBuildRailStation(TileIndex tile_org, DoCommandFlag flags, uint32
if (st->owner != _current_company) return_cmd_error(STR_ERROR_TOO_CLOSE_TO_ANOTHER_STATION);
if (st->train_station.tile != INVALID_TILE) {
- /* check if we want to expanding an already existing station? */
- if (!_settings_game.station.join_stations) return_cmd_error(STR_ERROR_TOO_CLOSE_TO_ANOTHER_RAILROAD);
-
CommandCost ret = CanExpandRailStation(st, new_location, axis);
if (ret.Failed()) return ret;
}