mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 12:10:48 +00:00
nuke an is_server
This commit is contained in:
parent
1ac6318804
commit
029257f5d0
1 changed files with 2 additions and 6 deletions
|
@ -323,12 +323,8 @@ NET_SendPacket (int length, void *data, netadr_t to)
|
|||
#ifdef _WIN32
|
||||
int err = WSAGetLastError ();
|
||||
|
||||
if (err == WSAEADDRNOTAVAIL) {
|
||||
if (is_server)
|
||||
Con_DPrintf ("NET_SendPacket Warning: %i\n", err);
|
||||
else
|
||||
Con_Printf ("NET_SendPacket ERROR: %i\n", err);
|
||||
}
|
||||
if (err == WSAEADDRNOTAVAIL)
|
||||
Con_DPrintf ("NET_SendPacket Warning: %i\n", err);
|
||||
#else // _WIN32
|
||||
int err = errno;
|
||||
|
||||
|
|
Loading…
Reference in a new issue