From f93e94801623d171b19785b8ba5db0d0a924882a Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 25 Nov 2004 20:38:37 +0000 Subject: [PATCH] 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 --- cl_parse.c | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.39.2