--- a/src/aircraft_cmd.cpp Wed Feb 07 08:36:53 2007 +0000
+++ b/src/aircraft_cmd.cpp Wed Feb 07 13:46:28 2007 +0000
@@ -555,7 +555,6 @@
if (v->u.air.state == FLYING && !next_airport_has_hangar) {
/* The aircraft is now heading for a different hangar than the next in the orders */
AircraftNextAirportPos_and_Order(v);
- v->u.air.targetairport = next_airport_index;
}
}
}
@@ -1245,7 +1244,6 @@
// orders are changed in flight, ensure going to the right station
if (order->type == OT_GOTO_STATION && v->u.air.state == FLYING) {
AircraftNextAirportPos_and_Order(v);
- v->u.air.targetairport = order->dest;
}
InvalidateVehicleOrder(v);