Fix serverside issue with the second+ dpp7 download failing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5470 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
00ab3f5998
commit
40c0eea061
1 changed files with 6 additions and 1 deletions
|
@ -2458,8 +2458,9 @@ static void SV_NextChunkedDownload(unsigned int chunknum, int ezpercent, int ezf
|
||||||
ClientReliableWrite_String (host_client, host_client->downloadfn);
|
ClientReliableWrite_String (host_client, host_client->downloadfn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NQPROT
|
||||||
host_client->downloadstarted = false;
|
host_client->downloadstarted = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_LEGACY) && defined(MVD_RECORDING)
|
#if defined(HAVE_LEGACY) && defined(MVD_RECORDING)
|
||||||
SV_DownloadQueueNext(host_client);
|
SV_DownloadQueueNext(host_client);
|
||||||
|
@ -3599,7 +3600,9 @@ void SV_BeginDownload_f(void)
|
||||||
|
|
||||||
Q_strncpyz(host_client->downloadfn, name, sizeof(host_client->downloadfn));
|
Q_strncpyz(host_client->downloadfn, name, sizeof(host_client->downloadfn));
|
||||||
host_client->downloadcount = 0;
|
host_client->downloadcount = 0;
|
||||||
|
#ifdef NQPROT
|
||||||
host_client->downloadstarted = false;
|
host_client->downloadstarted = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
host_client->downloadsize = VFS_GETLEN(host_client->download);
|
host_client->downloadsize = VFS_GETLEN(host_client->download);
|
||||||
|
|
||||||
|
@ -3668,7 +3671,9 @@ void SV_StopDownload_f(void)
|
||||||
else
|
else
|
||||||
SV_ClientPrintf(host_client, PRINT_HIGH, "Can't stop download - not downloading anything\n");
|
SV_ClientPrintf(host_client, PRINT_HIGH, "Can't stop download - not downloading anything\n");
|
||||||
|
|
||||||
|
#ifdef NQPROT
|
||||||
host_client->downloadstarted = false;
|
host_client->downloadstarted = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_LEGACY) && defined(MVD_RECORDING)
|
#if defined(HAVE_LEGACY) && defined(MVD_RECORDING)
|
||||||
SV_DownloadQueueNext(host_client);
|
SV_DownloadQueueNext(host_client);
|
||||||
|
|
Loading…
Reference in a new issue