Fix HTTP downloads being disabled after first download (issue #768)
This commit is contained in:
parent
88918579a3
commit
2d7100dc97
|
|
@ -1210,9 +1210,6 @@ void CL_ShutdownAll(qboolean shutdownRef)
|
||||||
if(clc.demorecording)
|
if(clc.demorecording)
|
||||||
CL_StopRecord_f();
|
CL_StopRecord_f();
|
||||||
|
|
||||||
#ifdef USE_HTTP
|
|
||||||
CL_HTTP_Shutdown();
|
|
||||||
#endif
|
|
||||||
// clear sounds
|
// clear sounds
|
||||||
S_DisableSounds();
|
S_DisableSounds();
|
||||||
// shutdown CGame
|
// shutdown CGame
|
||||||
|
|
@ -2092,7 +2089,6 @@ void CL_DownloadsComplete( void ) {
|
||||||
// if we downloaded with HTTP
|
// if we downloaded with HTTP
|
||||||
if(clc.httpUsed) {
|
if(clc.httpUsed) {
|
||||||
clc.httpUsed = qfalse;
|
clc.httpUsed = qfalse;
|
||||||
CL_HTTP_Shutdown();
|
|
||||||
if( clc.disconnectedForHttpDownload ) {
|
if( clc.disconnectedForHttpDownload ) {
|
||||||
if(clc.downloadRestart) {
|
if(clc.downloadRestart) {
|
||||||
FS_Restart(clc.checksumFeed);
|
FS_Restart(clc.checksumFeed);
|
||||||
|
|
@ -3798,6 +3794,10 @@ void CL_Shutdown(char *finalmsg, qboolean disconnect, qboolean quit)
|
||||||
CL_ClearMemory(qtrue);
|
CL_ClearMemory(qtrue);
|
||||||
CL_Snd_Shutdown();
|
CL_Snd_Shutdown();
|
||||||
|
|
||||||
|
#ifdef USE_HTTP
|
||||||
|
CL_HTTP_Shutdown();
|
||||||
|
#endif
|
||||||
|
|
||||||
Cmd_RemoveCommand ("cmd");
|
Cmd_RemoveCommand ("cmd");
|
||||||
Cmd_RemoveCommand ("configstrings");
|
Cmd_RemoveCommand ("configstrings");
|
||||||
Cmd_RemoveCommand ("clientinfo");
|
Cmd_RemoveCommand ("clientinfo");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user