mirror of https://github.com/OpenTTD/OpenTTD
(svn r2570) Fix: Removed some code that had no effect.
parent
a9b4e7963b
commit
b21ee889fe
|
@ -821,8 +821,7 @@ static void TileLoop_Industry(TileIndex tile)
|
||||||
Industry *i = GetIndustry(_m[tile].m2);
|
Industry *i = GetIndustry(_m[tile].m2);
|
||||||
if (i->was_cargo_delivered) {
|
if (i->was_cargo_delivered) {
|
||||||
i->was_cargo_delivered = false;
|
i->was_cargo_delivered = false;
|
||||||
if ((_m[tile].m4|_m[tile].m3) != 0)
|
_m[tile].m4 = 0;
|
||||||
_m[tile].m4 = 0;
|
|
||||||
AddAnimatedTile(tile);
|
AddAnimatedTile(tile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,8 +159,7 @@ static void AnimateTile_Town(TileIndex tile)
|
||||||
if (_tick_counter & 3)
|
if (_tick_counter & 3)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_m[tile].m4 != 4 && _m[tile].m4 != 5)
|
assert(_m[tile].m4 == 4 || _m[tile].m4 == 5);
|
||||||
return;
|
|
||||||
|
|
||||||
if (!((old=_m[tile].owner)&0x80)) {
|
if (!((old=_m[tile].owner)&0x80)) {
|
||||||
_m[tile].owner |= 0x80;
|
_m[tile].owner |= 0x80;
|
||||||
|
|
Loading…
Reference in New Issue