From cc33a20368bd39f76401f849f4edab15a4ae45a6 Mon Sep 17 00:00:00 2001 From: tma Date: Sun, 13 Aug 2006 17:09:05 +0000 Subject: * qvm files no longer installed by "make copyfiles" * Loopback clients only get snapshots at the server frame rate now (Anonymous ) * JPEG chroma subsampling disabled if the quality value is >= 85 (Anonymous ) * cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting will be ignored if on a LAN. (Anonymous ) git-svn-id: svn://svn.icculus.org/quake3/trunk@838 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/server/sv_snapshot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/server') diff --git a/code/server/sv_snapshot.c b/code/server/sv_snapshot.c index 2786b84..30001a1 100644 --- a/code/server/sv_snapshot.c +++ b/code/server/sv_snapshot.c @@ -583,11 +583,11 @@ void SV_SendMessageToClient( msg_t *msg, client_t *client ) { // set nextSnapshotTime based on rate and requested number of updates - // local clients get snapshots every frame + // local clients get snapshots every server frame // TTimo - https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=491 // added sv_lanForceRate check if ( client->netchan.remoteAddress.type == NA_LOOPBACK || (sv_lanForceRate->integer && Sys_IsLANAddress (client->netchan.remoteAddress)) ) { - client->nextSnapshotTime = svs.time - 1; + client->nextSnapshotTime = svs.time + (1000/sv_fps->integer); return; } -- cgit v1.2.3