Browse Source

Merge pull request #34 from x6herbius/netcode-reduce-failures

Prevented net send errors from triggering an entire host error
pull/2/head
Alibek Omarov 6 years ago committed by GitHub
parent
commit
84761e62ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      engine/common/net_ws.c

4
engine/common/net_ws.c

@ -1412,7 +1412,7 @@ void NET_SendPacketEx( netsrc_t sock, size_t length, const void *data, netadr_t
} }
else else
{ {
Host_Error( "NET_SendPacket: %s to %s\n", NET_ErrorString(), NET_AdrToString( to )); Con_Printf( S_ERROR "NET_SendPacket: %s to %s\n", NET_ErrorString(), NET_AdrToString( to ));
} }
} }
@ -2701,4 +2701,4 @@ void HTTP_Shutdown( void )
} }
http.last_server = 0; http.last_server = 0;
} }
Loading…
Cancel
Save