Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.c
This commit is contained in:
parent
58a5d3d383
commit
e6ba500164
6 changed files with 121 additions and 87 deletions
|
@ -1675,6 +1675,9 @@ void NET_Sleep(int msec)
|
|||
fd_set fdr;
|
||||
int highestfd = -1, retval;
|
||||
|
||||
if(msec < 0)
|
||||
msec = 0;
|
||||
|
||||
FD_ZERO(&fdr);
|
||||
|
||||
if(ip_socket != INVALID_SOCKET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue