src/ship_cmd.cpp
changeset 7929 6c9b25842b0f
parent 7928 63e18de69e50
child 7931 b0a46cd92225
--- a/src/ship_cmd.cpp	Mon Nov 19 21:02:30 2007 +0000
+++ b/src/ship_cmd.cpp	Mon Nov 19 21:32:20 2007 +0000
@@ -1009,7 +1009,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);
+				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);
 			}