mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Basic outline
This commit is contained in:
parent
762f50757d
commit
dc2558e755
2 changed files with 5 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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" );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue