diff options
author | glx <glx@openttd.org> | 2007-12-19 02:41:25 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-12-19 02:41:25 +0000 |
commit | a9dafdff48fa8b47720a018819e6784a85870034 (patch) | |
tree | 69290a588f557e9b28580c1bd265bd6f4ab47dd5 /src/station_cmd.cpp | |
parent | b8196d36e7f0104fb562eef67984e54ff107eae4 (diff) | |
download | openttd-a9dafdff48fa8b47720a018819e6784a85870034.tar.xz |
(svn r11666) -Fix (r11504): when removing buoys, return to water or canal depending on their owner
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 9d47cfb22..38a1af494 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -1908,7 +1908,7 @@ static CommandCost RemoveBuoy(Station *st, uint32 flags) /* We have to set the water tile's state to the same state as before the * buoy was placed. Otherwise one could plant a buoy on a canal edge, * remove it and flood the land (if the canal edge is at level 0) */ - MakeWaterOrCanalDependingOnSurroundings(tile, GetTileOwner(tile)); + MakeWaterOrCanalDependingOnOwner(tile, GetTileOwner(tile)); MarkTileDirtyByTile(tile); UpdateStationVirtCoordDirty(st); |