From b9f4f1eba43bfdf40417b20dd130c32e1b909848 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 20 Nov 2024 04:16:28 +0300 Subject: [PATCH] engine: client: fix engine features masking for 48 and 49 protocol --- engine/client/cl_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index cffa9498..335f1209 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -951,7 +951,7 @@ void CL_ParseServerData( sizebuf_t *msg, connprotocol_t proto ) Q_strncpy( clgame.maptitle, MSG_ReadString( msg ), sizeof( clgame.maptitle )); background = MSG_ReadOneBit( msg ); Q_strncpy( gamefolder, MSG_ReadString( msg ), sizeof( gamefolder )); - Host_ValidateEngineFeatures( 0, MSG_ReadDword( msg )); + Host_ValidateEngineFeatures( mask, MSG_ReadDword( msg )); if( proto != PROTO_LEGACY ) {