]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't abort a download if a level change occurs during the download, instead just...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Mar 2007 23:56:44 +0000 (23:56 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Mar 2007 23:56:44 +0000 (23:56 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6953 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index d32626704e4b4bda67a298c8c4cffbc281149964..dae4073dd2ba95b27ead16427dcbe35fa1afecf0 100644 (file)
@@ -910,6 +910,10 @@ void CL_BeginDownloads(qboolean aborteddownload)
        // curl is done, so let's start with the business
        cl.loadbegun = true;
 
+       // if already downloading something from the previous level, don't stop it
+       if (cls.qw_downloadname[0])
+               return;
+
        if (cl.downloadcsqc)
        {
                size_t progsize;