AGENT_MASK
if (!(AGENT_MASK(agent->type) & block->control))
*capabilities |= AGENT_MASK(agent->type);