(svn r3645) Fix stupid typos in last (r3644) commit *sigh*

This commit is contained in:
tron 2006-02-21 07:44:33 +00:00
parent b8b6084da2
commit 08f132fef2

View File

@ -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) {