diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-01-10 22:09:39 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-01-10 22:09:39 +0000 |
commit | 6fd8535eefc7e324849016d4fbb06e6488778c8b (patch) | |
tree | 682cf66b3ad1c47d1b22cd418a621f00bf7ba518 /source/net_common.c | |
parent | fef9f789590b48cd5a6438ebfbefe84ce4b85115 (diff) |
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.
Diffstat (limited to 'source/net_common.c')
-rw-r--r-- | source/net_common.c | 4 |
1 files changed, 0 insertions, 4 deletions
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" ) ) ) |