From b9e4f43636bf36febd7365637d164f6036eec00f Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Mon, 18 Jul 2011 17:20:58 +0000 Subject: [PATCH] IOQ3 commit 2089 --- reaction/code/server/sv_snapshot.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/reaction/code/server/sv_snapshot.c b/reaction/code/server/sv_snapshot.c index 91a6b6b0..73439193 100644 --- a/reaction/code/server/sv_snapshot.c +++ b/reaction/code/server/sv_snapshot.c @@ -610,6 +610,12 @@ void SV_SendClientMessages(void) if(*c->downloadName) continue; // Client is downloading, don't send snapshots + if(c->netchan.unsentFragments || c->netchan_start_queue) + { + c->rateDelayed = qtrue; + continue; // Drop this snapshot if the packet queue is still full or delta compression will break + } + if(!(c->netchan.remoteAddress.type == NA_LOOPBACK || (sv_lanForceRate->integer && Sys_IsLANAddress(c->netchan.remoteAddress)))) { @@ -617,12 +623,6 @@ void SV_SendClientMessages(void) if(svs.time - c->lastSnapshotTime < c->snapshotMsec * com_timescale->value) continue; // It's not time yet - - if(c->netchan.unsentFragments || c->netchan_start_queue) - { - c->rateDelayed = qtrue; - continue; // Drop this snapshot if the packet queue is still full - } if(SV_RateMsec(c) > 0) {