From: havoc Date: Thu, 25 Nov 2004 20:38:37 +0000 (+0000) Subject: removed Sys_Sleep call from CL_KeepaliveMessage, as it's probably better to load... X-Git-Tag: xonotic-v0.1.0preview~5342 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f93e94801623d171b19785b8ba5db0d0a924882a;p=xonotic%2Fdarkplaces.git removed Sys_Sleep call from CL_KeepaliveMessage, as it's probably better to load as fast as possible than to yield cpu time during loading 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 --- diff --git a/cl_parse.c b/cl_parse.c index 467f2e2e..54aa5934 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -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