From dc2558e755883f9a89ad7495983b94c0c38d08dd Mon Sep 17 00:00:00 2001 From: Victor Roemer Date: Sat, 27 Aug 2016 11:24:57 -0400 Subject: [PATCH] Basic outline --- code/client/cl_main.c | 3 +++ code/client/cl_parse.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 145fbfd3..1edfcaa6 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -2217,6 +2217,7 @@ void CL_NextDownload(void) remoteName = s; if ( (s = strchr(s, '@')) == NULL ) { + Com_GameRestart(clc.checksumFeed, qfalse); CL_DownloadsComplete(); return; } @@ -2266,6 +2267,7 @@ void CL_NextDownload(void) return; } else { + Com_GameRestart(clc.checksumFeed, qfalse); CL_BeginDownload( localName, remoteName ); } } @@ -2277,6 +2279,7 @@ void CL_NextDownload(void) return; } + Com_GameRestart(clc.checksumFeed, qfalse); CL_DownloadsComplete(); } diff --git a/code/client/cl_parse.c b/code/client/cl_parse.c index 39682507..cf6059eb 100644 --- a/code/client/cl_parse.c +++ b/code/client/cl_parse.c @@ -542,12 +542,12 @@ void CL_ParseGamestate( msg_t *msg ) { Q_strncpyz(cl_oldGame, oldGame, sizeof(cl_oldGame)); } - FS_ConditionalRestart(clc.checksumFeed, qfalse); - // This used to call CL_StartHunkUsers, but now we enter the download state before loading the // cgame CL_InitDownloads(); + //FS_ConditionalRestart(clc.checksumFeed, qfalse); + // make sure the game starts Cvar_Set( "cl_paused", "0" ); }