mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders.
This commit is contained in:
parent
077c751201
commit
ff80df980a
|
@ -870,6 +870,7 @@ public:
|
|||
left_sel->SetDisplayedPlane(DP_LEFT_NONSTOP);
|
||||
middle_sel->SetDisplayedPlane(DP_MIDDLE_LOAD);
|
||||
right_sel->SetDisplayedPlane(DP_RIGHT_UNLOAD);
|
||||
this->EnableWidget(ORDER_WIDGET_NON_STOP);
|
||||
this->SetWidgetLoweredState(ORDER_WIDGET_NON_STOP, order->GetNonStopType() & ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS);
|
||||
}
|
||||
this->DisableWidget(ORDER_WIDGET_FULL_LOAD);
|
||||
|
@ -883,6 +884,7 @@ public:
|
|||
left_sel->SetDisplayedPlane(DP_LEFT_NONSTOP);
|
||||
middle_sel->SetDisplayedPlane(DP_MIDDLE_REFIT);
|
||||
right_sel->SetDisplayedPlane(DP_RIGHT_SERVICE);
|
||||
this->EnableWidget(ORDER_WIDGET_NON_STOP);
|
||||
this->SetWidgetLoweredState(ORDER_WIDGET_NON_STOP, order->GetNonStopType() & ONSF_NO_STOP_AT_INTERMEDIATE_STATIONS);
|
||||
}
|
||||
this->SetWidgetLoweredState(ORDER_WIDGET_SERVICE, order->GetDepotOrderType() & ODTFB_SERVICE);
|
||||
|
|
Loading…
Reference in New Issue