forked from mirror/OpenTTD
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user