|
|
@ -2113,9 +2113,6 @@ void NET_Init( void ) |
|
|
|
Q_snprintf( cmd, sizeof( cmd ), "%i", PORT_SERVER ); |
|
|
|
Q_snprintf( cmd, sizeof( cmd ), "%i", PORT_SERVER ); |
|
|
|
Cvar_FullSet( "hostport", cmd, FCVAR_READ_ONLY ); |
|
|
|
Cvar_FullSet( "hostport", cmd, FCVAR_READ_ONLY ); |
|
|
|
|
|
|
|
|
|
|
|
Q_snprintf( cmd, sizeof( cmd ), "%i", PORT_CLIENT ); |
|
|
|
|
|
|
|
Cvar_FullSet( "clientport", cmd, FCVAR_READ_ONLY ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// cvar equivalents for IPv6
|
|
|
|
// cvar equivalents for IPv6
|
|
|
|
Cvar_RegisterVariable( &net_ip6name ); |
|
|
|
Cvar_RegisterVariable( &net_ip6name ); |
|
|
|
Cvar_RegisterVariable( &net_ip6hostport ); |
|
|
|
Cvar_RegisterVariable( &net_ip6hostport ); |
|
|
|