mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-22 14:09:10 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user