mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: Don't show train waiting for unbunching as waiting for free path (#12515)
This commit is contained in:
parent
f8485b5fbf
commit
9408f9c6ed
|
@ -3109,12 +3109,12 @@ public:
|
|||
} else { // no train
|
||||
str = STR_VEHICLE_STATUS_STOPPED;
|
||||
}
|
||||
} else if (v->IsInDepot() && v->IsWaitingForUnbunching()) {
|
||||
str = STR_VEHICLE_STATUS_WAITING_UNBUNCHING;
|
||||
} else if (v->type == VEH_TRAIN && HasBit(Train::From(v)->flags, VRF_TRAIN_STUCK) && !v->current_order.IsType(OT_LOADING)) {
|
||||
str = STR_VEHICLE_STATUS_TRAIN_STUCK;
|
||||
} else if (v->type == VEH_AIRCRAFT && HasBit(Aircraft::From(v)->flags, VAF_DEST_TOO_FAR) && !v->current_order.IsType(OT_LOADING)) {
|
||||
str = STR_VEHICLE_STATUS_AIRCRAFT_TOO_FAR;
|
||||
} else if (v->IsInDepot() && v->IsWaitingForUnbunching()) {
|
||||
str = STR_VEHICLE_STATUS_WAITING_UNBUNCHING;
|
||||
} else { // vehicle is in a "normal" state, show current order
|
||||
if (mouse_over_start_stop) {
|
||||
if (v->vehstatus & VS_STOPPED) {
|
||||
|
|
Loading…
Reference in New Issue