mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 18:40:29 +00:00
(svn r25456) -Fix [FS#5560]: Assertion when opening the refit GUI for a not refittable vehicle.
This commit is contained in:
parent
be2b87c1cd
commit
abb5a13f1e
@ -523,7 +523,7 @@ struct RefitWindow : public Window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->vscroll->SetCount(row);
|
this->vscroll->SetCount(row);
|
||||||
this->vscroll->ScrollTowards(scroll_row);
|
if (scroll_row < row) this->vscroll->ScrollTowards(scroll_row);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user