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