summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-04 19:16:52 +0000
committerrubidium <rubidium@openttd.org>2009-12-04 19:16:52 +0000
commitc22f9679b5c9e5a637ccc006d0b69680b8894ea3 (patch)
tree19e53bd9b210eae6a2d16b6d56dc5c1fdc0467ec /src
parent710e84f11e7fa9e90a8388774c71c446d8a3e174 (diff)
downloadopenttd-c22f9679b5c9e5a637ccc006d0b69680b8894ea3.tar.xz
(svn r18401) -Fix: drive through road stops did not get flooded
Diffstat (limited to 'src')
-rw-r--r--src/station_cmd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index f83daf62d..9a9c4825f 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -3173,6 +3173,9 @@ static void ChangeTileOwner_Station(TileIndex tile, Owner old_owner, Owner new_o
*/
static bool CanRemoveRoadWithStop(TileIndex tile, DoCommandFlag flags)
{
+ /* Yeah... water can always remove stops, right? */
+ if (_current_company == OWNER_WATER) return true;
+
Owner road_owner = _current_company;
Owner tram_owner = _current_company;