summaryrefslogtreecommitdiff
path: root/industry_cmd.c
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-07-15 12:16:16 +0000
committerludde <ludde@openttd.org>2005-07-15 12:16:16 +0000
commitddc939f0edee1ae514135c76509550ffe03222af (patch)
tree58447f3b57befd902eb1c5be412629d9f9807fb4 /industry_cmd.c
parent837c7ac25ef9994658aba2c3ad9610873cd93c77 (diff)
downloadopenttd-ddc939f0edee1ae514135c76509550ffe03222af.tar.xz
(svn r2570) Fix: Removed some code that had no effect.
Diffstat (limited to 'industry_cmd.c')
-rw-r--r--industry_cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index fab71b42c..6ed9446b0 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -821,8 +821,7 @@ static void TileLoop_Industry(TileIndex tile)
Industry *i = GetIndustry(_m[tile].m2);
if (i->was_cargo_delivered) {
i->was_cargo_delivered = false;
- if ((_m[tile].m4|_m[tile].m3) != 0)
- _m[tile].m4 = 0;
+ _m[tile].m4 = 0;
AddAnimatedTile(tile);
}
}