mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 21:52:05 +08:00
engine: client: allow case-insensitive goldsrc proto argument in connect and queryserver commands
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user