Browse Source

engine: common: net_ws: disabled read-only flag for ip cvar

pull/2/head
SNMetamorph 2 years ago committed by a1batross
parent
commit
d8724f0be4
  1. 2
      engine/common/net_ws.c
  2. 2
      engine/server/sv_client.c

2
engine/common/net_ws.c

@ -1731,7 +1731,7 @@ void NET_Init( void ) @@ -1731,7 +1731,7 @@ void NET_Init( void )
net_clockwindow = Cvar_Get( "clockwindow", "0.5", FCVAR_PRIVILEGED, "timewindow to execute client moves" );
net_address = Cvar_Get( "net_address", "0", FCVAR_READ_ONLY, "contain local address of current client" );
net_ipname = Cvar_Get( "ip", "localhost", FCVAR_READ_ONLY, "network ip address" );
net_ipname = Cvar_Get( "ip", "localhost", 0, "network ip address" );
net_iphostport = Cvar_Get( "ip_hostport", "0", FCVAR_READ_ONLY, "network ip host port" );
net_hostport = Cvar_Get( "hostport", va( "%i", PORT_SERVER ), FCVAR_READ_ONLY, "network default host port" );
net_ipclientport = Cvar_Get( "ip_clientport", "0", FCVAR_READ_ONLY, "network ip client port" );

2
engine/server/sv_client.c

@ -2271,7 +2271,7 @@ void SV_ConnectionlessPacket( netadr_t from, sizebuf_t *msg ) @@ -2271,7 +2271,7 @@ void SV_ConnectionlessPacket( netadr_t from, sizebuf_t *msg )
netadr_t to;
if( NET_StringToAdr( Cmd_Argv( 1 ), &to ))
SV_Info( to, PROTOCOL_VERSION );
SV_Info( to );
}
else if( svgame.dllFuncs.pfnConnectionlessPacket( &from, args, buf, &len ))
{

Loading…
Cancel
Save