summaryrefslogtreecommitdiff
path: root/src/pathfind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfind.cpp')
-rw-r--r--src/pathfind.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfind.cpp b/src/pathfind.cpp
index 5ac8277cf..1ecbce8b2 100644
--- a/src/pathfind.cpp
+++ b/src/pathfind.cpp
@@ -313,7 +313,7 @@ static void TPFMode1(TrackPathFinder* tpf, TileIndex tile, DiagDirection directi
* entrance :-) */
return;
}
- } else {
+ } else { // IsBridge(tile)
TileIndex tile_end;
if (GetTunnelBridgeDirection(tile) != direction ||
GetTunnelBridgeTransportType(tile) != tpf->tracktype) {
@@ -733,7 +733,7 @@ start_at:
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 */