train_cmd.c
changeset 1615 cee18da24b41
parent 1601 9fd461d00287
child 1675 d004a4d0f6d4
--- a/train_cmd.c	Sat Apr 02 00:17:16 2005 +0000
+++ b/train_cmd.c	Sat Apr 02 01:08:01 2005 +0000
@@ -1360,7 +1360,7 @@
 
 	if (v->current_order.type == OT_GOTO_DEPOT) {
 		if (flags & DC_EXEC) {
-			if (HASBIT(v->current_order.flags, OF_PART_OF_ORDERS)) {
+			if (HASBIT(v->current_order.flags, OFB_PART_OF_ORDERS)) {
 				v->u.rail.days_since_order_progr = 0;
 				v->cur_order_index++;
 			}