Skip to content
Permalink
Browse files

Modified file download error behaviour

  • Loading branch information...
ccw808 committed Jul 29, 2019
1 parent 2f424b6 commit 5644cd7f23db636308dd97e328f85f0b001ae347
Showing with 6 additions and 0 deletions.
  1. +6 −0 Client/mods/deathmatch/logic/CResourceFileDownloadManager.cpp
@@ -280,6 +280,12 @@ void CResourceFileDownloadManager::DownloadFinished(const SHttpDownloadResult& r
}
}
else
if (result.iErrorCode == 1007)
{
// Download failed due to being unable to create file
// Ignore here so it will be processed at CResource::HandleDownloadedFileTrouble
}
else
{
// Download failed due to connection type problem
CNetHTTPDownloadManagerInterface* pHTTP = g_pNet->GetHTTPDownloadManager(m_HttpServerList[pResourceFile->GetHttpServerIndex()].downloadChannel);

0 comments on commit 5644cd7

Please sign in to comment.
You can’t perform that action at this time.