diff -r cb78ae22fe58 -r 75d037f8dcc4 roadveh_cmd.c --- a/roadveh_cmd.c Thu Jul 28 05:47:54 2005 +0000 +++ b/roadveh_cmd.c Thu Jul 28 06:09:15 2005 +0000 @@ -630,7 +630,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++; }