mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r14367) [0.6] -Fix (r10046): Widgets added (in a documentation update?!) without updating other code caused disabled widget to be drawn in the middle of another player's order list. This fix only applies to 0.6 branch.
This commit is contained in:
parent
cbc69f8067
commit
456b479a21
|
@ -147,7 +147,7 @@ static void DrawOrdersWindow(Window *w)
|
|||
w->SetWidgetDisabledState(ORDER_WIDGET_REFIT, order == NULL); // Refit
|
||||
w->HideWidget(ORDER_WIDGET_REFIT); // Refit
|
||||
} else {
|
||||
w->DisableWidget(ORDER_WIDGET_TRANSFER);
|
||||
w->DisableWidget(ORDER_WIDGET_RESIZE_BAR);
|
||||
}
|
||||
|
||||
w->ShowWidget(ORDER_WIDGET_UNLOAD); // Unload
|
||||
|
|
Loading…
Reference in New Issue