aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_parse.c
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-19 22:36:17 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-19 22:36:17 +0000
commit473debef0e5c4229d9fdd5a7418e6e9bd7cdd51c (patch)
tree5cbbbffd84c6dab9b223b6e16cff1f4a6168435c /code/client/cl_parse.c
parent54af38d7f47e4135aab626496e2de9e71dd49cff (diff)
downloadioquake3-aero-473debef0e5c4229d9fdd5a7418e6e9bd7cdd51c.tar.gz
ioquake3-aero-473debef0e5c4229d9fdd5a7418e6e9bd7cdd51c.zip
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
Diffstat (limited to 'code/client/cl_parse.c')
-rw-r--r--code/client/cl_parse.c2
1 files changed, 0 insertions, 2 deletions
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