1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-14 01:59:09 +00:00

(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:
2008-09-20 20:34:36 +00:00
parent cbc69f8067
commit 456b479a21

View File

@@ -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