diff options
author | rubidium <rubidium@openttd.org> | 2011-11-20 18:36:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-20 18:36:54 +0000 |
commit | 07596494787238b2f8a1c369217f9886343c37d3 (patch) | |
tree | 37aadc3e6056cff13998eac6d281226f06df55b8 /src/network/network_content_gui.cpp | |
parent | 56a2c4b177075c0adcb18c4053155988b8926e5c (diff) | |
download | openttd-07596494787238b2f8a1c369217f9886343c37d3.tar.xz |
(svn r23285) -Fix: scanning of content after download didn't work
Diffstat (limited to 'src/network/network_content_gui.cpp')
-rw-r--r-- | src/network/network_content_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index afe5e7d7c..05064edb1 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -205,8 +205,7 @@ public: virtual void OnDownloadProgress(const ContentInfo *ci, int bytes) { BaseNetworkContentDownloadStatusWindow::OnDownloadProgress(ci, bytes); - - if (ci->id != this->cur_id) this->receivedTypes.Include(ci->type); + this->receivedTypes.Include(ci->type); /* When downloading is finished change cancel in ok */ if (this->downloaded_bytes == this->total_bytes) { |