File diff r15011:acd1a8b391ed → r15012:f19fe03ea1c7
src/ai/api/ai_tunnel.cpp
Show inline comments
 
@@ -77,10 +77,10 @@ static void _DoCommandReturnBuildTunnel1
 

	
 
	uint type = 0;
 
	if (vehicle_type == AIVehicle::VT_ROAD) {
 
		type |= (TRANSPORT_ROAD << 9);
 
		type |= (TRANSPORT_ROAD << 8);
 
		type |= ::RoadTypeToRoadTypes((::RoadType)AIObject::GetRoadType());
 
	} else {
 
		type |= (TRANSPORT_RAIL << 9);
 
		type |= (TRANSPORT_RAIL << 8);
 
		type |= AIRail::GetCurrentRailType();
 
	}