diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-09-26 19:57:25 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-09-26 19:57:25 +0000 |
commit | aa597241c1021d9ffee503a48e81fbbfa6141287 (patch) | |
tree | 0c11867ca7ada74444c29341b5e5f489fe398671 /source/sv_main.c | |
parent | cb9fb567a6a341b9894b05ee229b5c95ec5f82c6 (diff) |
Removed useless `net_tcp_clientport' cvar.
Server no longer honours `port' cvar, `net_port' should be used instead.
Server no longer searches for a free port and fails to start after the
first unsuccessful attempt.
Added documentation of the network stuff.
Do not optimize `oldorigin' stuff on player entities for non-Q2PRO clients.
Only active MVD channels are now listed in the menu.
Diffstat (limited to 'source/sv_main.c')
-rw-r--r-- | source/sv_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/sv_main.c b/source/sv_main.c index dfae82f..01d5d58 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -835,6 +835,7 @@ static void SVC_DirectConnect( void ) { newcl->pool = ( edict_pool_t * )&ge->edicts; newcl->cm = &sv.cm; newcl->spawncount = sv.spawncount; + newcl->maxclients = sv_maxclients->integer; strcpy( newcl->reconnect_var, reconnect_var ); strcpy( newcl->reconnect_val, reconnect_val ); |