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_init.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_init.c')
-rw-r--r-- | source/sv_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/sv_init.c b/source/sv_init.c index 46633c9..8e22065 100644 --- a/source/sv_init.c +++ b/source/sv_init.c @@ -127,6 +127,7 @@ static void SV_SpawnServer( cm_t *cm, const char *server, const char *spawnpoint // set serverinfo variable SV_InfoSet( "mapname", sv.name ); + SV_InfoSet( "port", net_port->string ); Cvar_SetInteger( sv_running, ss_game, CVAR_SET_DIRECT ); Cvar_Set( "sv_paused", "0" ); |