mirror of https://github.com/OpenTTD/OpenTTD
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
parent
666c856457
commit
47a11fff20
|
@ -153,6 +153,8 @@ Industry::~Industry()
|
||||||
/* MakeWaterKeepingClass() doesn't remove animation if the tiles
|
/* MakeWaterKeepingClass() doesn't remove animation if the tiles
|
||||||
* become watery, but be on the safe side an always remote it. */
|
* become watery, but be on the safe side an always remote it. */
|
||||||
DeleteAnimatedTile(tile_cur);
|
DeleteAnimatedTile(tile_cur);
|
||||||
|
|
||||||
|
MarkTileDirtyByTile(tile);
|
||||||
}
|
}
|
||||||
} else if (IsTileType(tile_cur, MP_STATION) && IsOilRig(tile_cur)) {
|
} else if (IsTileType(tile_cur, MP_STATION) && IsOilRig(tile_cur)) {
|
||||||
DeleteOilRig(tile_cur);
|
DeleteOilRig(tile_cur);
|
||||||
|
|
Loading…
Reference in New Issue