mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-23 00:20:56 +00:00
Killed the last #ifdef SERVERONLY (actually, changed to is_server)
This commit is contained in:
parent
440cc9f7d3
commit
4bf5222841
1 changed files with 3 additions and 3 deletions
|
@ -210,6 +210,8 @@ qboolean NET_GetPacket (void)
|
|||
|
||||
//=============================================================================
|
||||
|
||||
extern qboolean is_server;
|
||||
|
||||
void NET_SendPacket (int length, void *data, netadr_t to)
|
||||
{
|
||||
int ret;
|
||||
|
@ -226,11 +228,9 @@ void NET_SendPacket (int length, void *data, netadr_t to)
|
|||
if (err == WSAEWOULDBLOCK)
|
||||
return;
|
||||
|
||||
#ifndef SERVERONLY
|
||||
if (err == WSAEADDRNOTAVAIL)
|
||||
if (err == WSAEADDRNOTAVAIL && is_server)
|
||||
Con_DPrintf("NET_SendPacket Warning: %i\n", err);
|
||||
else
|
||||
#endif
|
||||
Con_Printf ("NET_SendPacket ERROR: %i\n", errno);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue