engine: client: allow case-insensitive goldsrc proto argument in connect and queryserver commands

This commit is contained in:
Alibek Omarov 2024-10-26 05:15:46 +03:00
parent cd4f4d5ad4
commit f7c4cd9398

View file

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