]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
also enter the event loop during Q3 map load... should prevent Vista's not responding...
[xonotic/darkplaces.git] / cl_parse.c
index 3d0688174a88bc88f236bee3795d4dfc0d1e40bc..26dba1d0efa45d435fe86b8c917835f7123e2cb0 100644 (file)
@@ -297,6 +297,8 @@ void CL_KeepaliveMessage (qboolean readmessages)
        qboolean oldbadread;
        sizebuf_t old;
 
+       SCR_UpdateLoadingScreenIfShown();
+
        // no need if server is local and definitely not if this is a demo
        if (!cls.netcon || cls.protocol == PROTOCOL_QUAKEWORLD || cls.signon >= SIGNONS)
                return;
@@ -1151,7 +1153,7 @@ void CL_BeginDownloads(qboolean aborteddownload)
                                }
                        }
 
-                       if(cl.loadmodel_current == 1)
+                       if(cl.downloadmodel_current == 1)
                        {
                                // they'll be soon loaded, but make sure we apply freshly downloaded shaders from a curled pk3
                                Mod_FreeQ3Shaders();