Browse Source

server: sv_validate_changelevel is deprecated now and disabled by default

If anyone wants this feature back, use +sv_validate_changelevel 1 in command line.
pull/2/head
Alibek Omarov 4 years ago
parent
commit
aea9e8efa2
  1. 2
      engine/server/sv_main.c

2
engine/server/sv_main.c

@ -884,7 +884,7 @@ void SV_Init( void )
Cvar_RegisterVariable( &hostname ); Cvar_RegisterVariable( &hostname );
timeout = Cvar_Get( "timeout", "125", FCVAR_SERVER, "connection timeout" ); timeout = Cvar_Get( "timeout", "125", FCVAR_SERVER, "connection timeout" );
sv_pausable = Cvar_Get( "pausable", "1", FCVAR_SERVER, "allow players to pause or not" ); sv_pausable = Cvar_Get( "pausable", "1", FCVAR_SERVER, "allow players to pause or not" );
sv_validate_changelevel = Cvar_Get( "sv_validate_changelevel", "1", FCVAR_ARCHIVE, "test change level for level-designer errors" ); sv_validate_changelevel = Cvar_Get( "sv_validate_changelevel", "0", 0, "test change level for level-designer errors" );
Cvar_RegisterVariable( &sv_clienttrace ); Cvar_RegisterVariable( &sv_clienttrace );
Cvar_RegisterVariable( &sv_bounce ); Cvar_RegisterVariable( &sv_bounce );
Cvar_RegisterVariable( &sv_spectatormaxspeed ); Cvar_RegisterVariable( &sv_spectatormaxspeed );

Loading…
Cancel
Save