equal
deleted
inserted
replaced
972 } break; |
972 } break; |
973 |
973 |
974 case OT_GOTO_DEPOT: { |
974 case OT_GOTO_DEPOT: { |
975 Depot *dep = GetDepot(v->current_order.dest); |
975 Depot *dep = GetDepot(v->current_order.dest); |
976 SetDParam(0, dep->town_index); |
976 SetDParam(0, dep->town_index); |
977 if (HASBIT(v->current_order.flags, OFB_HALT_IN_DEPOT)) { |
977 if (HASBIT(v->current_order.flags, OFB_HALT_IN_DEPOT) && !HASBIT(v->current_order.flags, OFB_PART_OF_ORDERS)) { |
978 str = STR_HEADING_FOR_TRAIN_DEPOT + _patches.vehicle_speed; |
978 str = STR_HEADING_FOR_TRAIN_DEPOT + _patches.vehicle_speed; |
979 } else { |
979 } else { |
980 str = STR_HEADING_FOR_TRAIN_DEPOT_SERVICE + _patches.vehicle_speed; |
980 str = STR_HEADING_FOR_TRAIN_DEPOT_SERVICE + _patches.vehicle_speed; |
981 } |
981 } |
982 SetDParam(1, v->u.rail.last_speed); |
982 SetDParam(1, v->u.rail.last_speed); |