]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
use checkdisk flag on model loading after ingame download, this should
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Oct 2011 22:28:04 +0000 (22:28 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 22 Oct 2011 22:28:04 +0000 (22:28 +0000)
eliminate the need for r_restart

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11462 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index 1055b9470cb3d431b94e895e3f0f7faeae811faf..dcde8eb1607e060f1bd748eb06eb6076f8c71152 100644 (file)
@@ -1281,7 +1281,7 @@ void CL_BeginDownloads(qboolean aborteddownload)
                                Mod_FreeQ3Shaders();
                        }
 
                                Mod_FreeQ3Shaders();
                        }
 
-                       cl.model_precache[cl.downloadmodel_current] = Mod_ForName(cl.model_name[cl.downloadmodel_current], false, false, cl.model_name[cl.downloadmodel_current][0] == '*' ? cl.model_name[1] : NULL);
+                       cl.model_precache[cl.downloadmodel_current] = Mod_ForName(cl.model_name[cl.downloadmodel_current], false, true, cl.model_name[cl.downloadmodel_current][0] == '*' ? cl.model_name[1] : NULL);
                        if (cl.downloadmodel_current == 1)
                        {
                                // we now have the worldmodel so we can set up the game world
                        if (cl.downloadmodel_current == 1)
                        {
                                // we now have the worldmodel so we can set up the game world