mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should
This commit is contained in:
parent
93ef16c520
commit
6941db6c39
@ -757,6 +757,8 @@ public:
|
||||
|
||||
virtual void OnInvalidateData(int data)
|
||||
{
|
||||
if (this->content.NeedRebuild()) this->BuildContentList();
|
||||
|
||||
/* To sum all the bytes we intend to download */
|
||||
this->filesize_sum = 0;
|
||||
bool show_select_all = false;
|
||||
|
Loading…
Reference in New Issue
Block a user