]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
removed Sys_Sleep call from CL_KeepaliveMessage, as it's probably better to load...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 25 Nov 2004 20:38:37 +0000 (20:38 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 25 Nov 2004 20:38:37 +0000 (20:38 +0000)
removed an unnecessary CL_KeepaliveMessage call in model purging

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

cl_parse.c

index 467f2e2ee152d7d66f735c5ad50d814b206953ab..54aa59344df187e4db2aa0c26d5ce64b08732e23 100644 (file)
@@ -204,8 +204,6 @@ void CL_KeepaliveMessage (void)
                msg.cursize = 0;
                MSG_WriteChar(&msg, svc_nop);
                NetConn_SendUnreliableMessage(cls.netcon, &msg);
-               // try not to utterly crush the computer with work, that's just rude
-               Sys_Sleep(1);
        }
 }
 
@@ -401,10 +399,7 @@ void CL_ParseServerInfo (void)
        // anything that isn't needed
        Mod_ClearUsed();
        for (i = 1;i < nummodels;i++)
-       {
-               CL_KeepaliveMessage();
                Mod_FindName(parse_model_precache[i]);
-       }
        Mod_PurgeUnused();
 
        // do the same for sounds