diff options
author | Tim Angus <tim@ngus.net> | 2006-06-17 23:13:57 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-06-17 23:13:57 +0000 |
commit | 579672760092292b7a9752899010ffa4ac6faf6f (patch) | |
tree | a59ed488de023b76032ad8f0bdad5dc40cf51bc4 /src/server/sv_client.c | |
parent | da11bfa115f0670861cb18e05ec45ba515b7c3b7 (diff) |
* Merged ioq3-r810
Diffstat (limited to 'src/server/sv_client.c')
-rw-r--r-- | src/server/sv_client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/sv_client.c b/src/server/sv_client.c index 6cc9eecd..794f32a8 100644 --- a/src/server/sv_client.c +++ b/src/server/sv_client.c @@ -743,6 +743,12 @@ void SV_WriteDownloadToClient( client_t *cl , msg_t *msg ) rate = sv_maxRate->integer; } } + if ( sv_minRate->integer ) { + if ( sv_minRate->integer < 1000 ) + Cvar_Set( "sv_minRate", "1000" ); + if ( sv_minRate->integer > rate ) + rate = sv_minRate->integer; + } if (!rate) { blockspersnap = 1; |