From: divverent Date: Fri, 7 Aug 2009 18:41:03 +0000 (+0000) Subject: actually, set the threshold to 10. X-Git-Tag: xonotic-v0.1.0preview~1524 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d339cf021cbbe76092aca074c9fd0a8e0c181423;p=xonotic%2Fdarkplaces.git actually, set the threshold to 10. If an entity receive function takes now 0.2222 seconds, and repeatedly does so when the ent is received, it's insane even at initialization. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9105 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_main.c b/sv_main.c index f18dd31e..d37313ba 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1492,8 +1492,8 @@ void SV_WriteEntitiesToClient(client_t *client, prvm_edict_t *clent, sizebuf_t * else EntityFrameCSQC_WriteFrame(msg, maxsize, numsendstates, sv.writeentitiestoclient_sendstates, 0); - if(client->num_skippedentityframes >= 5) - need_empty = true; // force every 5th frame to be not empty (or cl_movement replay takes too long) + if(client->num_skippedentityframes >= 10) + need_empty = true; // force every 10th frame to be not empty (or cl_movement replay takes too long) if (client->entitydatabase5) success = EntityFrame5_WriteFrame(msg, maxsize, client->entitydatabase5, numsendstates, sv.writeentitiestoclient_sendstates, client - svs.clients + 1, client->movesequence, need_empty);