mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-12-23 17:25:24 +01:00
Merge pull request #34 from x6herbius/netcode-reduce-failures
Prevented net send errors from triggering an entire host error
This commit is contained in:
commit
84761e62ff
@ -1412,7 +1412,7 @@ void NET_SendPacketEx( netsrc_t sock, size_t length, const void *data, netadr_t
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user