engine: client: fix joining current protocol servers

This commit is contained in:
Alibek Omarov 2024-10-08 12:43:29 +03:00
parent a8539ac004
commit 482dc3a5a5

View file

@ -938,7 +938,7 @@ void CL_ParseServerData( sizebuf_t *msg, connprotocol_t proto )
Q_strncpy( gamefolder, MSG_ReadString( msg ), sizeof( gamefolder )); Q_strncpy( gamefolder, MSG_ReadString( msg ), sizeof( gamefolder ));
Host_ValidateEngineFeatures( MSG_ReadDword( msg )); Host_ValidateEngineFeatures( MSG_ReadDword( msg ));
if( proto == PROTO_LEGACY ) if( proto != PROTO_LEGACY )
{ {
// receive the player hulls // receive the player hulls
for( i = 0; i < MAX_MAP_HULLS * 3; i++ ) for( i = 0; i < MAX_MAP_HULLS * 3; i++ )