diff options
author | tron <tron@openttd.org> | 2006-02-21 07:44:33 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-02-21 07:44:33 +0000 |
commit | 2e3e9daf328f264c79a90cd4c11bcc06a07a7cca (patch) | |
tree | b5ad6eed282fddec3c6982f20c96ea7107886456 /tunnelbridge_cmd.c | |
parent | 4b468837515a1f34476a00bbe49de9d9430d12de (diff) | |
download | openttd-2e3e9daf328f264c79a90cd4c11bcc06a07a7cca.tar.xz |
(svn r3645) Fix stupid typos in last (r3644) commit *sigh*
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r-- | tunnelbridge_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index 42df5fbac..a56a7f593 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -433,9 +433,9 @@ static bool DoCheckTunnelInWay(TileIndex tile, uint z, uint dir) do { tile -= delta; height = GetTileZ(tile); - } while (z < tile); + } while (z < height); - if (z == tile && + if (z == height && IsTileType(tile, MP_TUNNELBRIDGE) && GB(_m[tile].m5, 4, 4) == 0 && GB(_m[tile].m5, 0, 2) == dir) { |