(svn r21958) -Cleanup: join_stations setting; can done by distant join and could be subverted by distant join

This commit is contained in:
rubidium
2011-02-04 15:29:50 +00:00
parent c0f39415b9
commit 8ee493b6e9
5 changed files with 1 additions and 7 deletions

View File

@@ -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;
}