equal
deleted
inserted
replaced
3446 v->current_order.dest != depot->index && |
3446 v->current_order.dest != depot->index && |
3447 !CHANCE16(3, 16)) { |
3447 !CHANCE16(3, 16)) { |
3448 return; |
3448 return; |
3449 } |
3449 } |
3450 |
3450 |
|
3451 if (v->current_order.type == OT_LOADING) v->LeaveStation(); |
|
3452 |
3451 v->current_order.type = OT_GOTO_DEPOT; |
3453 v->current_order.type = OT_GOTO_DEPOT; |
3452 v->current_order.flags = OF_NON_STOP; |
3454 v->current_order.flags = OF_NON_STOP; |
3453 v->current_order.dest = depot->index; |
3455 v->current_order.dest = depot->index; |
3454 v->dest_tile = tfdd.tile; |
3456 v->dest_tile = tfdd.tile; |
3455 InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); |
3457 InvalidateWindowWidget(WC_VEHICLE_VIEW, v->index, STATUS_BAR); |