engine: check server address if client received split packet

This commit is contained in:
Alibek Omarov
2026-05-23 19:26:47 +05:00
parent 09f15042fe
commit 42ab099a07
3 changed files with 6 additions and 1 deletions

View File

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