From: havoc Date: Mon, 8 May 2006 05:21:14 +0000 (+0000) Subject: fix really stupid bug in qw download code which was saving the same file repeatedly... X-Git-Tag: xonotic-v0.1.0preview~4019 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=7f3742dfb452ee29827ab19593f978fe6c340e26 fix really stupid bug in qw download code which was saving the same file repeatedly (it wasn't resetting the buffer position on each new download) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6347 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_parse.c b/cl_parse.c index 4de0b234..756f309b 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -391,6 +391,7 @@ static qboolean QW_CL_CheckOrDownloadFile(const char *filename) cls.qw_downloadnumber++; cls.qw_downloadpercent = 0; + cls.qw_downloadmemorycursize = 0; return false; }