[quake3-commits] r2078 - trunk/code/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jul 13 14:37:26 EDT 2011
Author: thilo
Date: 2011-07-13 14:37:26 -0400 (Wed, 13 Jul 2011)
New Revision: 2078
Modified:
trunk/code/server/sv_client.c
Log:
- Forgot to mention: last rev (2077) bumped default protocol version to 70
- Fix queued packet rate control
Modified: trunk/code/server/sv_client.c
===================================================================
--- trunk/code/server/sv_client.c 2011-07-13 17:11:30 UTC (rev 2077)
+++ trunk/code/server/sv_client.c 2011-07-13 18:37:26 UTC (rev 2078)
@@ -1104,8 +1104,11 @@
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;
}
More information about the quake3-commits
mailing list