]> git.rm.cloudns.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)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 23 Oct 2011 15:52:46 +0000 (17:52 +0200)
eliminate the need for r_restart

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11462 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=e267b18ea5e1e6ab71b14db5a12a803cd0554421

cl_parse.c

index b0554e862eb12cb32c7c3e745d618acfb6f7b0d7..9ba71419851d4c396db9192384f8574f99a26c5c 100644 (file)
@@ -1281,7 +1281,7 @@ void CL_BeginDownloads(qboolean aborteddownload)
                                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