(svn r6635) -Fix r6634: incomplete/incorrect assignment

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
glx 18 years ago
parent 0305adeb12
commit e27e381d29

@ -1576,7 +1576,7 @@ static void DrawVehicleListWindow(Window *w)
}
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_AUTOREPLACE, list_isempty);

Loading…
Cancel
Save