equal
deleted
inserted
replaced
1028 if (flags & DC_EXEC) { |
1028 if (flags & DC_EXEC) { |
1029 v->dest_tile = dep->xy; |
1029 v->dest_tile = dep->xy; |
1030 v->current_order.type = OT_GOTO_DEPOT; |
1030 v->current_order.type = OT_GOTO_DEPOT; |
1031 v->current_order.flags = OF_NON_STOP; |
1031 v->current_order.flags = OF_NON_STOP; |
1032 if (!(p2 & DEPOT_SERVICE)) SETBIT(v->current_order.flags, OFB_HALT_IN_DEPOT); |
1032 if (!(p2 & DEPOT_SERVICE)) SETBIT(v->current_order.flags, OFB_HALT_IN_DEPOT); |
|
1033 v->current_order.refit_cargo = CT_INVALID; |
1033 v->current_order.dest = dep->index; |
1034 v->current_order.dest = dep->index; |
1034 InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); |
1035 InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); |
1035 } |
1036 } |
1036 |
1037 |
1037 return 0; |
1038 return 0; |