mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: check server address if client received split packet
This commit is contained in:
@@ -2284,7 +2284,7 @@ CL_IsFromConnectingServer
|
||||
Used for connectionless packets, when netchan may not be ready.
|
||||
=================
|
||||
*/
|
||||
static qboolean CL_IsFromConnectingServer( netadr_t from )
|
||||
qboolean CL_IsFromConnectingServer( netadr_t from )
|
||||
{
|
||||
return NET_IsLocalAddress( from ) ||
|
||||
NET_CompareAdr( cls.serveradr, from );
|
||||
|
||||
Reference in New Issue
Block a user