mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-03-26 04:10:50 +00:00
IOQ3 commit 2207
This commit is contained in:
parent
c486531580
commit
e96ca782da
1 changed files with 0 additions and 8 deletions
|
@ -520,20 +520,12 @@ NET_GetPacket
|
|||
Receive one packet
|
||||
==================
|
||||
*/
|
||||
#ifdef _DEBUG
|
||||
int recvfromCount;
|
||||
#endif
|
||||
|
||||
qboolean NET_GetPacket(netadr_t *net_from, msg_t *net_message, fd_set *fdr)
|
||||
{
|
||||
int ret;
|
||||
struct sockaddr_storage from;
|
||||
socklen_t fromlen;
|
||||
int err;
|
||||
|
||||
#ifdef _DEBUG
|
||||
recvfromCount++; // performance check
|
||||
#endif
|
||||
|
||||
if(ip_socket != INVALID_SOCKET && FD_ISSET(ip_socket, fdr))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue