mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r6635) -Fix r6634: incomplete/incorrect assignment
This commit is contained in:
parent
f7f8f2bd65
commit
fcd533d991
@ -1576,7 +1576,7 @@ static void DrawVehicleListWindow(Window *w)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (owner == _local_player) {
|
if (owner == _local_player) {
|
||||||
bool list_isempty vl->l.list_length == 0;
|
bool list_isempty = vl->l.list_length == 0;
|
||||||
|
|
||||||
SetWindowWidgetDisabledState(w, VLW_WIDGET_SEND_TO_DEPOT, list_isempty);
|
SetWindowWidgetDisabledState(w, VLW_WIDGET_SEND_TO_DEPOT, list_isempty);
|
||||||
SetWindowWidgetDisabledState(w, VLW_WIDGET_AUTOREPLACE, list_isempty);
|
SetWindowWidgetDisabledState(w, VLW_WIDGET_AUTOREPLACE, list_isempty);
|
||||||
|
Loading…
Reference in New Issue
Block a user