src/roadveh_cmd.cpp
changeset 7551 7e76a6be5873
parent 7516 44347f1765b9
child 7593 9b4265a05063
--- a/src/roadveh_cmd.cpp	Sun Sep 09 15:32:46 2007 +0000
+++ b/src/roadveh_cmd.cpp	Sun Sep 09 17:42:59 2007 +0000
@@ -477,6 +477,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);
 			}