Changeset - r14142:117af6deeb7f
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2010-01-03 19:33:12
yexo@openttd.org
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/industry_cmd.cpp
Show inline comments
 
@@ -153,6 +153,8 @@ Industry::~Industry()
 
				/* 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);
 
			}
 
		} else if (IsTileType(tile_cur, MP_STATION) && IsOilRig(tile_cur)) {
 
			DeleteOilRig(tile_cur);
0 comments (0 inline, 0 general)