train_cmd.c
changeset 5259 08336337aae0
parent 5256 90226d8da8fb
child 5277 5d278741650c
--- a/train_cmd.c	Tue Dec 05 23:37:04 2006 +0000
+++ b/train_cmd.c	Tue Dec 05 23:57:04 2006 +0000
@@ -2050,6 +2050,7 @@
 		v->current_order.flags = OF_NON_STOP;
 		if (!(p2 & DEPOT_SERVICE)) SETBIT(v->current_order.flags, OFB_HALT_IN_DEPOT);
 		v->current_order.dest = GetDepotByTile(tfdd.tile)->index;
+		v->current_order.refit_cargo = CT_INVALID;
 		InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR);
 		/* If there is no depot in front, reverse automatically */
 		if (tfdd.reverse)