mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Reset error state when getting a new download server.
This commit is contained in:
parent
1d9acffe0b
commit
c06af7de57
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue