From f7c4cd939857426b958f1105b724ee93c42d2aeb Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 26 Oct 2024 05:15:46 +0300 Subject: [PATCH] engine: client: allow case-insensitive goldsrc proto argument in connect and queryserver commands --- engine/client/cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 77863c75..21b513ae 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -1440,7 +1440,7 @@ static qboolean CL_StringToProtocol( const char *s, connprotocol_t *proto ) return true; } - if( !Q_stricmp( s, "goldsrc" ) || !Q_strcmp( s, "gs" )) + if( !Q_stricmp( s, "goldsrc" ) || !Q_stricmp( s, "gs" )) { *proto = PROTO_GOLDSRC; return true;