- Forgot to mention: last rev (2077) bumped default protocol version to 70

- Fix queued packet rate control
This commit is contained in:
Thilo Schulz 2011-07-13 18:37:26 +00:00
parent ac30d86db0
commit d827447da8
1 changed files with 4 additions and 1 deletions

View File

@ -1104,7 +1104,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;