mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
This commit is contained in:
parent
666c856457
commit
47a11fff20
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue