# HG changeset patch # User yexo # Date 2010-01-03 19:33:12 # Node ID 117af6deeb7f89caac7d286efac2442cb8b04a35 # Parent 092094f6122c4648c3a3d0f1db94db47418c2d12 (svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -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);