Update 'code/qcommon/common.c'
This commit is contained in:
parent
c0c53373f6
commit
f8c0c4d33e
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue