changeset 2214 | 75d037f8dcc4 |
parent 2186 | 461a2aff3486 |
child 2244 | e6b5ef68406d |
--- a/train_cmd.c Thu Jul 28 05:47:54 2005 +0000 +++ b/train_cmd.c Thu Jul 28 06:09:15 2005 +0000 @@ -2156,7 +2156,7 @@ } if (v->current_order.type == OT_GOTO_DEPOT && - (v->current_order.flags & (OF_UNLOAD | OF_FULL_LOAD)) == (OF_UNLOAD | OF_FULL_LOAD) && + (v->current_order.flags & (OF_PART_OF_ORDERS | OF_SERVICE_IF_NEEDED)) == (OF_PART_OF_ORDERS | OF_SERVICE_IF_NEEDED) && !VehicleNeedsService(v)) { v->cur_order_index++; }