2
0
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:
Alibek Omarov 2019-04-01 23:04:00 +03:00 committed by GitHub
commit 84761e62ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}