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;
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();
}

View file

@ -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" );
}