См. определение в файле PlayerAgentPool.c строка 201
Перекрестные ссылки Math::Clamp(), GetSingleAgentCount() и SetAgentCount().