diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-07-13 18:37:26 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 22:27:30 +0000 |
commit | 90ec05fa09b7948f65b3c27be4f134dd8e7ed109 (patch) | |
tree | 5bab155ddc50c864a46abe0b4432013639717d42 /src | |
parent | 2bf2118d79994cfd805c3ffb5b421c6a65658b84 (diff) |
- Forgot to mention: last rev (2077) bumped default protocol version to 70 - Fix queued packet rate control
Diffstat (limited to 'src')
-rw-r--r-- | src/server/sv_client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/sv_client.c b/src/server/sv_client.c index b05aba56..b9b5e659 100644 --- a/src/server/sv_client.c +++ b/src/server/sv_client.c @@ -853,7 +853,10 @@ int SV_SendQueuedMessages(void) if(cl->state) { - nextFragT = SV_Netchan_TransmitNextFragment(cl); + nextFragT = SV_RateMsec(cl); + + if(!nextFragT) + nextFragT = SV_Netchan_TransmitNextFragment(cl); if(nextFragT >= 0 && (retval == -1 || retval > nextFragT)) retval = nextFragT; |