// Skip if the goods have recently arrived, and this is not their preferred line/convoy
// After waiting some time (1/3rd of their maximum wait), they will board anything.
const uint16 third_minutes = base_max_minutes / 3;
const uint16 twice_journey = connexions[tmp.get_besch()->get_catg_index()].get(tmp.get_zwischenziel()) != NULL ?
connexions[tmp.get_besch()->get_catg_index()].get(tmp.get_zwischenziel())->journey_time * 2 : base_max_minutes;
const uint16 max_best_minutes = third_minutes > twice_journey ? twice_journey : third_minutes;
if(cnv != NULL && waiting_minutes <= max_best_minutes / 3)
{
...