summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2011-02-04 14:11:14 +0000
committersmatz <smatz@openttd.org>2011-02-04 14:11:14 +0000
commit3057a26fd5e2cffe9afc6ed5034dcd2c61fb2c6e (patch)
tree48d267f1a760881a5ba0f98aee6dc8138b811d9e /src/water_cmd.cpp
parent732a0d069ad45cc65da7ba0deb2bc081662de146 (diff)
downloadopenttd-3057a26fd5e2cffe9afc6ed5034dcd2c61fb2c6e.tar.xz
(svn r21953) -Remove [FS#4456]: the non-uniform stations setting. Support for uniform stations has been broken for over a year
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index 9f803fc89..6a81e890b 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -902,19 +902,6 @@ static void FloodVehicles(TileIndex tile)
return;
}
- /* if non-uniform stations are disabled, flood some train in this train station (if there is any) */
- if (!_settings_game.station.nonuniform_stations && IsTileType(tile, MP_STATION) && GetStationType(tile) == STATION_RAIL) {
- const Station *st = Station::GetByTile(tile);
-
- TILE_AREA_LOOP(t, st->train_station) {
- if (st->TileBelongsToRailStation(t)) {
- FindVehicleOnPos(tile, &z, &FloodVehicleProc);
- }
- }
-
- return;
- }
-
if (!IsBridgeTile(tile)) {
FindVehicleOnPos(tile, &z, &FloodVehicleProc);
return;