From 473debef0e5c4229d9fdd5a7418e6e9bd7cdd51c Mon Sep 17 00:00:00 2001 From: thilo Date: Mon, 19 Oct 2009 22:36:17 +0000 Subject: Fix infinite loop in case an invalid pk3 file has been downloaded from the server. Thanks tjw for reporting (#3074) git-svn-id: svn://svn.icculus.org/quake3/trunk@1686 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_parse.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'code/client/cl_parse.c') diff --git a/code/client/cl_parse.c b/code/client/cl_parse.c index 588fe39..687cb5f 100644 --- a/code/client/cl_parse.c +++ b/code/client/cl_parse.c @@ -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 -- cgit v1.2.3