mirror of https://github.com/OpenTTD/OpenTTD
(svn r3645) Fix stupid typos in last (r3644) commit *sigh*
parent
4b46883751
commit
2e3e9daf32
|
@ -433,9 +433,9 @@ static bool DoCheckTunnelInWay(TileIndex tile, uint z, uint dir)
|
||||||
do {
|
do {
|
||||||
tile -= delta;
|
tile -= delta;
|
||||||
height = GetTileZ(tile);
|
height = GetTileZ(tile);
|
||||||
} while (z < tile);
|
} while (z < height);
|
||||||
|
|
||||||
if (z == tile &&
|
if (z == height &&
|
||||||
IsTileType(tile, MP_TUNNELBRIDGE) &&
|
IsTileType(tile, MP_TUNNELBRIDGE) &&
|
||||||
GB(_m[tile].m5, 4, 4) == 0 &&
|
GB(_m[tile].m5, 4, 4) == 0 &&
|
||||||
GB(_m[tile].m5, 0, 2) == dir) {
|
GB(_m[tile].m5, 0, 2) == dir) {
|
||||||
|
|
Loading…
Reference in New Issue