aircraft_cmd.c
changeset 5259 9d7de9a6b364
parent 5256 9056fd4b30f4
child 5380 8ea58542b6e0
--- a/aircraft_cmd.c	Tue Dec 05 23:37:04 2006 +0000
+++ b/aircraft_cmd.c	Tue Dec 05 23:57:04 2006 +0000
@@ -558,6 +558,7 @@
 			v->current_order.type = OT_GOTO_DEPOT;
 			v->current_order.flags = OF_NON_STOP;
 			if (!(p2 & DEPOT_SERVICE)) SETBIT(v->current_order.flags, OFB_HALT_IN_DEPOT);
+			v->current_order.refit_cargo = CT_INVALID;
 			v->current_order.dest = next_airport_index;
 			InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR);
 			if (p2 & DEPOT_LOCATE_HANGAR || (p2 & DEPOT_SERVICE && v->u.air.state == FLYING && !next_airport_has_hangar)) {