diff options
author | frosch <frosch@openttd.org> | 2010-08-27 20:46:36 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-27 20:46:36 +0000 |
commit | 4901d42140f1a8742bfde617eaef794f25710167 (patch) | |
tree | b006892ef34d82514fdca39f4f5aa423ec69ff50 /src/industry_cmd.cpp | |
parent | d7c843a22e0d7333e906b5bdab54054b39248c0d (diff) | |
download | openttd-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.cpp | 6 |
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); |