Fix infinite loop in case an invalid pk3 file has been downloaded from the server. Thanks tjw for reporting (#3074)

This commit is contained in:
Thilo Schulz 2009-10-19 22:36:17 +00:00
parent d93cc3c997
commit fd57c987c4
5 changed files with 78 additions and 20 deletions

View file

@ -619,8 +619,6 @@ void CL_ParseDownload ( msg_t *msg ) {
// rename the file
FS_SV_Rename ( clc.downloadTempName, clc.downloadName );
}
*clc.downloadTempName = *clc.downloadName = 0;
Cvar_Set( "cl_downloadName", "" );
// send intentions now
// We need this because without it, we would hold the last nextdl and then start