(svn r2570) Fix: Removed some code that had no effect.

This commit is contained in:
ludde 2005-07-15 12:16:16 +00:00
parent 837c7ac25e
commit ddc939f0ed
2 changed files with 2 additions and 4 deletions

View File

@ -821,7 +821,6 @@ 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;
AddAnimatedTile(tile);
}

View File

@ -159,8 +159,7 @@ static void AnimateTile_Town(TileIndex tile)
if (_tick_counter & 3)
return;
if (_m[tile].m4 != 4 && _m[tile].m4 != 5)
return;
assert(_m[tile].m4 == 4 || _m[tile].m4 == 5);
if (!((old=_m[tile].owner)&0x80)) {
_m[tile].owner |= 0x80;