src/pathfind.cpp
changeset 8390 f88f515e6557
parent 8270 e7c342f6b14c
child 8392 e80cb3cd512d
--- a/src/pathfind.cpp	Wed Jan 23 13:20:51 2008 +0000
+++ b/src/pathfind.cpp	Wed Jan 23 14:51:36 2008 +0000
@@ -313,7 +313,7 @@
 				 * entrance :-) */
 				return;
 			}
-		} else {
+		} else { // IsBridge(tile)
 			TileIndex tile_end;
 			if (GetTunnelBridgeDirection(tile) != direction ||
 					GetTunnelBridgeTransportType(tile) != tpf->tracktype) {
@@ -733,7 +733,7 @@
 					tile = flotr.tile;
 					/* tile now points to the exit tile of the tunnel */
 				}
-			} else {
+			} else { // IsBridge(tile)
 				TileIndex tile_end;
 				if (GetTunnelBridgeDirection(tile) != ReverseDiagDir(direction)) {
 					/* We are not just leaving the bridge */