Reset error state when getting a new download server.

This commit is contained in:
Yamagi Burmeister 2019-01-24 14:07:44 +01:00
parent 1d9acffe0b
commit c06af7de57

View file

@ -930,6 +930,7 @@ void CL_SetHTTPServer (const char *URL)
abortDownloads = HTTPDL_ABORT_NONE;
handleCount = pendingCount = 0;
cls.downloadServerRetry[0] = 0;
downloadError = false;
// Remove trailing / from URL if any.
size_t urllen = strlen(URL);