changeset 18441:f538acfb85ef draft

(svn r23285) -Fix: scanning of content after download didn't work
author rubidium <rubidium@openttd.org>
date Sun, 20 Nov 2011 18:36:54 +0000
parents 94f0cebe4d74
children 6a3c30f1cd3e
files src/network/network_content_gui.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -205,8 +205,7 @@
 	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) {