summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-01-03 20:14:50 +0000
committeryexo <yexo@openttd.org>2010-01-03 20:14:50 +0000
commit8a50a4112c4cf425b3d47c189f80c4e053c047bc (patch)
treeb8f8c96432c5e0f4a52f7c295277623f0d6c5d97
parent47a11fff20d78e5f0309c1bf7bd60e97cebae6a5 (diff)
downloadopenttd-8a50a4112c4cf425b3d47c189f80c4e053c047bc.tar.xz
(svn r18701) -Fix (r18700): always compile before making a commit
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index c495f0399..8e4b7ffcb 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -154,7 +154,7 @@ Industry::~Industry()
* become watery, but be on the safe side an always remote it. */
DeleteAnimatedTile(tile_cur);
- MarkTileDirtyByTile(tile);
+ MarkTileDirtyByTile(tile_cur);
}
} else if (IsTileType(tile_cur, MP_STATION) && IsOilRig(tile_cur)) {
DeleteOilRig(tile_cur);