changeset 2214 | 75d037f8dcc4 |
parent 2186 | 461a2aff3486 |
child 2260 | 3e97367f7cbc |
--- 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++; }