diff options
author | yexo <yexo@openttd.org> | 2010-01-03 19:33:12 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-03 19:33:12 +0000 |
commit | 47a11fff20d78e5f0309c1bf7bd60e97cebae6a5 (patch) | |
tree | 46dba06ced852bea27ab662d1550f6e600cbecbd /src | |
parent | 666c856457ebda1a4261d0da95c11ecefc04708f (diff) | |
download | openttd-47a11fff20d78e5f0309c1bf7bd60e97cebae6a5.tar.xz |
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
Diffstat (limited to 'src')
-rw-r--r-- | src/industry_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |