bool aircraft_broken = v->vehstatus & VS_AIRCRAFT_BROKEN;
if (aircraft_broken) speed_limit = SPEED_LIMIT_BROKEN;
/* Adjust speed limits by plane speed factor to prevent taxiing
* and take-off speeds being too low. */
speed_limit *= _settings_game.vehicle.plane_speed;
if (v->vcache.cached_max_speed < speed_limit) {
if (v->cur_speed < aircraft_broken ? SPEED_LIMIT_BROKEN : speed_limit) hard_limit = false;
speed_limit = aircraft_broken ? SPEED_LIMIT_BROKEN : v->vcache.cached_max_speed;
}