Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.c

This commit is contained in:
Thilo Schulz 2011-07-15 16:51:54 +00:00
parent 58a5d3d383
commit e6ba500164
6 changed files with 121 additions and 87 deletions

View file

@ -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)