diff options
-rw-r--r-- | aircraft_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/aircraft_cmd.c b/aircraft_cmd.c index 7da3de8f1..23704b11f 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -1041,6 +1041,9 @@ static void ProcessAircraftOrder(Vehicle *v) return; } + if ( order.type == OT_DUMMY && !CheckForValidOrders(v)) + CrashAirplane(v); + if (order.type == v->current_order.type && order.flags == v->current_order.flags && order.station == v->current_order.station) @@ -1054,9 +1057,6 @@ static void ProcessAircraftOrder(Vehicle *v) v->u.air.targetairport = order.station; } - if ( order.type == OT_DUMMY && !CheckForValidOrders(v)) - CrashAirplane(v); - InvalidateVehicleOrderWidget(v); } |