(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user