From 6fd8535eefc7e324849016d4fbb06e6488778c8b Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Thu, 10 Jan 2008 22:09:39 +0000 Subject: Always send nonzero areabytes to non-q2pro clients (fixes hall of mirrors in MVD Waiting Room). Made `deathmatch' and `maxclients' default to `1' and `8' respectively. Made autocompletion work for some console variables too. Made `set' command accept multiple args with spaces, as well as Cvar_Command. Fixed potential crash on entities with EF_BFG bit and out of range skinnum. Levelshots work again now. Made `pingservers' command ping all 64 possible servers. Delete scrap texture on refresh shutdown. Added `leave' command for GTV, switches client to Waiting Room. --- source/net_common.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/net_common.c') diff --git a/source/net_common.c b/source/net_common.c index a22ad00..31c34d3 100644 --- a/source/net_common.c +++ b/source/net_common.c @@ -1281,8 +1281,6 @@ void NET_Init( void ) { Com_DPrintf( "Winsock Initialized\n" ); #endif - Cvar_Subsystem( CVAR_SYSTEM_NET ); - net_ip = Cvar_Get( "net_ip", "localhost", 0 ); net_port = Cvar_Get( "net_port", va( "%i", PORT_SERVER ), 0 ); net_clientport = Cvar_Get( "net_clientport", va( "%i", PORT_ANY ), 0 ); @@ -1296,8 +1294,6 @@ void NET_Init( void ) { net_ignore_icmp = Cvar_Get( "net_ignore_icmp", "0", 0 ); net_backlog = Cvar_Get( "net_backlog", "4", 0 ); - Cvar_Subsystem( CVAR_SYSTEM_GENERIC ); - if( ( i = Cvar_VariableInteger( "ip_hostport" ) ) || ( i = Cvar_VariableInteger( "hostport" ) ) || ( i = Cvar_VariableInteger( "port" ) ) ) -- cgit v1.2.3