town_cmd.c
changeset 3184 118a520164e4
parent 3154 6ab0cb6b7ab3
child 3222 6de22e06a1e9
--- a/town_cmd.c	Sun Mar 12 12:19:25 2006 +0000
+++ b/town_cmd.c	Sun Mar 12 15:04:03 2006 +0000
@@ -624,9 +624,7 @@
 		int i;
 
 		// Reached a tunnel? Then continue at the other side of it.
-		if (IsTileType(tile, MP_TUNNELBRIDGE) &&
-				GB(_m[tile].m5, 4, 4) == 0 &&
-				GetTunnelTransportType(tile) == TRANSPORT_ROAD) {
+		if (IsTunnelTile(tile) && GetTunnelTransportType(tile) == TRANSPORT_ROAD) {
 			*tile_ptr = GetOtherTunnelEnd(tile);
 			return;
 		}