/* adjust speed for broken vehicles */ if (v->vehstatus & VS_AIRCRAFT_BROKEN) { if (speed_limit > SPEED_LIMIT_BROKEN) { hard_limit = false; } else { if (hard_limit) { hard_limit = hard_limit; } else { hard_limit = hard_limit; } } speed_limit = min(speed_limit, SPEED_LIMIT_BROKEN); }