From 47a11fff20d78e5f0309c1bf7bd60e97cebae6a5 Mon Sep 17 00:00:00 2001 From: yexo Date: Sun, 3 Jan 2010 19:33:12 +0000 Subject: (svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty --- src/industry_cmd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index bf3455b3e..c495f0399 100644 --- 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); -- cgit v1.2.3-70-g09d2