diff options
author | rubidium <rubidium@openttd.org> | 2010-12-12 20:58:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-12 20:58:33 +0000 |
commit | cdd35c6a51f456ff1aaa309c88f65e9a1076eb39 (patch) | |
tree | 73e415133d775f6ca8c387f220bfc882101969b2 /src/industry_cmd.cpp | |
parent | e0351ab4140e433e8d3529ce9162d5075994dcd8 (diff) | |
download | openttd-cdd35c6a51f456ff1aaa309c88f65e9a1076eb39.tar.xz |
(svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 0a5342c99..398b3f1c3 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -159,7 +159,6 @@ Industry::~Industry() /* Remove the farmland and convert it to regular tiles over time. */ TILE_AREA_LOOP(tile_cur, ta) { - tile_cur = TILE_MASK(tile_cur); if (IsTileType(tile_cur, MP_CLEAR) && IsClearGround(tile_cur, CLEAR_FIELDS) && GetIndustryIndexOfField(tile_cur) == this->index) { SetIndustryIndexOfField(tile_cur, INVALID_INDUSTRY); |