diff options
author | frosch <frosch@openttd.org> | 2008-02-06 16:19:28 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-02-06 16:19:28 +0000 |
commit | 4d41baba5bf057f52f8925e0434f88ac7f3562a3 (patch) | |
tree | c10c946a495bf02e2d660a4853d8eb4f610c7688 /src/station_cmd.cpp | |
parent | 113525c40b60e8e9a9ac19af16b421af08e949a8 (diff) | |
download | openttd-4d41baba5bf057f52f8925e0434f88ac7f3562a3.tar.xz |
(svn r12072) -Fix: Make docks at sea flood neighboured tiles.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 8a60d740c..1762fc754 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2318,6 +2318,9 @@ static void TileLoop_Station(TileIndex tile) } break; + case STATION_DOCK: + if (GetTileSlope(tile, NULL) != SLOPE_FLAT) break; // only handle water part + /* FALL THROUGH */ case STATION_OILRIG: //(station part) case STATION_BUOY: TileLoop_Water(tile); |