mirror of
https://github.com/UberGames/ioef.git
synced 2025-01-18 23:21:37 +00:00
- Forgot to mention: last rev (2077) bumped default protocol version to 70
- Fix queued packet rate control
This commit is contained in:
parent
ac30d86db0
commit
d827447da8
1 changed files with 4 additions and 1 deletions
|
@ -1104,7 +1104,10 @@ int SV_SendQueuedMessages(void)
|
||||||
|
|
||||||
if(cl->state)
|
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))
|
if(nextFragT >= 0 && (retval == -1 || retval > nextFragT))
|
||||||
retval = nextFragT;
|
retval = nextFragT;
|
||||||
|
|
Loading…
Reference in a new issue