summaryrefslogtreecommitdiff
path: root/src/industry_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/industry_cmd.cpp
parentd7c843a22e0d7333e906b5bdab54054b39248c0d (diff)
downloadopenttd-4901d42140f1a8742bfde617eaef794f25710167.tar.xz
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 8aa4ef7d9..013de136f 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -145,12 +145,6 @@ Industry::~Industry()
/* MakeWaterKeepingClass() can also handle 'land' */
MakeWaterKeepingClass(tile_cur, OWNER_NONE);
-
- /* MakeWaterKeepingClass() doesn't remove animation if the tiles
- * become watery, but be on the safe side an always remote it. */
- DeleteAnimatedTile(tile_cur);
-
- MarkTileDirtyByTile(tile_cur);
}
} else if (IsTileType(tile_cur, MP_STATION) && IsOilRig(tile_cur)) {
DeleteOilRig(tile_cur);