src/ship_cmd.cpp
changeset 8047 bcc7782ef238
parent 7998 f1a308b61b8f
child 8138 7dc73953c47e
--- a/src/ship_cmd.cpp	Sun Sep 09 15:32:46 2007 +0000
+++ b/src/ship_cmd.cpp	Sun Sep 09 17:42:59 2007 +0000
@@ -1004,6 +1004,7 @@
 			 * Now we change the setting to apply the new one and let the vehicle head for the same depot.
 			 * Note: the if is (true for requesting service == true for ordered to stop in depot)          */
 			if (flags & DC_EXEC) {
+				CLRBIT(v->current_order.flags, OFB_PART_OF_ORDERS);
 				TOGGLEBIT(v->current_order.flags, OFB_HALT_IN_DEPOT);
 				InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR);
 			}