src/ai/default/default.cpp
changeset 8886 9f2c7ebc7fc9
parent 8885 b18a67c2eaeb
child 8888 94cc8a25185f
--- a/src/ai/default/default.cpp	Wed Jan 23 13:20:51 2008 +0000
+++ b/src/ai/default/default.cpp	Wed Jan 23 14:51:36 2008 +0000
@@ -2228,7 +2228,7 @@
 				return false;
 			_players_ai[p->index].cur_tile_a = TILE_MASK(_build_tunnel_endtile - TileOffsByDiagDir(_players_ai[p->index].cur_dir_a));
 			return true;
-		} else {
+		} else { // IsBridge(tile)
 			// Check if the bridge points in the right direction.
 			// This is not really needed the first place AiRemoveTileAndGoForward is called.
 			if (DiagDirToAxis(GetTunnelBridgeDirection(tile)) != (_players_ai[p->index].cur_dir_a & 1)) return false;