mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2570) Fix: Removed some code that had no effect.
This commit is contained in:
parent
837c7ac25e
commit
ddc939f0ed
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user