Basic outline

This commit is contained in:
Victor Roemer 2016-08-27 11:24:57 -04:00
parent 762f50757d
commit dc2558e755
2 changed files with 5 additions and 2 deletions

View File

@ -2217,6 +2217,7 @@ void CL_NextDownload(void)
remoteName = s; remoteName = s;
if ( (s = strchr(s, '@')) == NULL ) { if ( (s = strchr(s, '@')) == NULL ) {
Com_GameRestart(clc.checksumFeed, qfalse);
CL_DownloadsComplete(); CL_DownloadsComplete();
return; return;
} }
@ -2266,6 +2267,7 @@ void CL_NextDownload(void)
return; return;
} }
else { else {
Com_GameRestart(clc.checksumFeed, qfalse);
CL_BeginDownload( localName, remoteName ); CL_BeginDownload( localName, remoteName );
} }
} }
@ -2277,6 +2279,7 @@ void CL_NextDownload(void)
return; return;
} }
Com_GameRestart(clc.checksumFeed, qfalse);
CL_DownloadsComplete(); CL_DownloadsComplete();
} }

View File

@ -542,12 +542,12 @@ void CL_ParseGamestate( msg_t *msg ) {
Q_strncpyz(cl_oldGame, oldGame, sizeof(cl_oldGame)); 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 // This used to call CL_StartHunkUsers, but now we enter the download state before loading the
// cgame // cgame
CL_InitDownloads(); CL_InitDownloads();
//FS_ConditionalRestart(clc.checksumFeed, qfalse);
// make sure the game starts // make sure the game starts
Cvar_Set( "cl_paused", "0" ); Cvar_Set( "cl_paused", "0" );
} }