1
0
Fork 0

Update 'code/qcommon/common.c'

This commit is contained in:
MGislv 2022-02-12 19:57:08 +00:00
parent c0c53373f6
commit f8c0c4d33e
1 changed files with 1 additions and 1 deletions

View File

@ -3611,7 +3611,7 @@ void Com_Init( char *commandLine ) {
Cvar_Get( "sv_master2", "master.ioquake3.org", CVAR_INIT );
Cvar_Get( "sv_master3", "master.maverickservers.com", CVAR_INIT );
com_protocol = Cvar_Get( "protocol", XSTRING( DEFAULT_PROTOCOL_VERSION ), 0 );
com_protocol = Cvar_Get( "protocol", "71-compat", 0 );
if ( Q_stristr( com_protocol->string, "-compat" ) > com_protocol->string ) {
// strip -compat suffix
Cvar_Set2( "protocol", va( "%i", com_protocol->integer ), qtrue );