diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/aircraft_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp index df79cb73d..b333746b2 100644 --- a/src/aircraft_cmd.cpp +++ b/src/aircraft_cmd.cpp @@ -1044,7 +1044,7 @@ static bool AircraftController(Vehicle *v) /* Jump into our "holding pattern" state machine if possible */ if (v->u.air.pos >= afc->nofelements) { v->u.air.pos = v->u.air.previous_pos = AircraftGetEntryPoint(v, afc); - } else { + } else if (v->u.air.targetairport != v->current_order.dest) { /* If not possible, just get out of here fast */ v->u.air.state = FLYING; UpdateAircraftCache(v); |