mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 18:40:29 +00:00
(svn r23285) -Fix: scanning of content after download didn't work
This commit is contained in:
parent
56a2c4b177
commit
0759649478
@ -205,8 +205,7 @@ public:
|
|||||||
virtual void OnDownloadProgress(const ContentInfo *ci, int bytes)
|
virtual void OnDownloadProgress(const ContentInfo *ci, int bytes)
|
||||||
{
|
{
|
||||||
BaseNetworkContentDownloadStatusWindow::OnDownloadProgress(ci, bytes);
|
BaseNetworkContentDownloadStatusWindow::OnDownloadProgress(ci, bytes);
|
||||||
|
this->receivedTypes.Include(ci->type);
|
||||||
if (ci->id != this->cur_id) this->receivedTypes.Include(ci->type);
|
|
||||||
|
|
||||||
/* When downloading is finished change cancel in ok */
|
/* When downloading is finished change cancel in ok */
|
||||||
if (this->downloaded_bytes == this->total_bytes) {
|
if (this->downloaded_bytes == this->total_bytes) {
|
||||||
|
Loading…
Reference in New Issue
Block a user