File diff r18259:00667dab1f07 → r18260:9616113792ef
src/tunnel_map.cpp
Show inline comments
 
@@ -20,13 +20,13 @@
 
 * @return the tile of the other end of the tunnel.
 
 */
 
TileIndex GetOtherTunnelEnd(TileIndex tile)
 
{
 
	DiagDirection dir = GetTunnelBridgeDirection(tile);
 
	TileIndexDiff delta = TileOffsByDiagDir(dir);
 
	uint z = GetTileZ(tile);
 
	int z = GetTileZ(tile);
 

	
 
	dir = ReverseDiagDir(dir);
 
	do {
 
		tile += delta;
 
	} while (
 
		!IsTunnelTile(tile) ||