summaryrefslogtreecommitdiff
path: root/src/waypoint_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-27 20:46:36 +0000
committerfrosch <frosch@openttd.org>2010-08-27 20:46:36 +0000
commit4901d42140f1a8742bfde617eaef794f25710167 (patch)
treeb006892ef34d82514fdca39f4f5aa423ec69ff50 /src/waypoint_cmd.cpp
parentd7c843a22e0d7333e906b5bdab54054b39248c0d (diff)
downloadopenttd-4901d42140f1a8742bfde617eaef794f25710167.tar.xz
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
Diffstat (limited to 'src/waypoint_cmd.cpp')
-rw-r--r--src/waypoint_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/waypoint_cmd.cpp b/src/waypoint_cmd.cpp
index 9a0954aef..9733ac951 100644
--- a/src/waypoint_cmd.cpp
+++ b/src/waypoint_cmd.cpp
@@ -349,7 +349,6 @@ CommandCost RemoveBuoy(TileIndex tile, DoCommandFlag flags)
* 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) */
MakeWaterKeepingClass(tile, GetTileOwner(tile));
- MarkTileDirtyByTile(tile);
wp->rect.AfterRemoveTile(wp, tile);