engine: client: initialize netadr_t structure in LAN games scan
This commit is contained in:
parent
aee99f6094
commit
87a56a5fa1
1 changed files with 2 additions and 0 deletions
|
@ -1555,6 +1555,8 @@ void CL_LocalServers_f( void )
|
||||||
{
|
{
|
||||||
netadr_t adr;
|
netadr_t adr;
|
||||||
|
|
||||||
|
memset( &adr, 0, sizeof( adr ));
|
||||||
|
|
||||||
Con_Printf( "Scanning for servers on the local network area...\n" );
|
Con_Printf( "Scanning for servers on the local network area...\n" );
|
||||||
NET_Config( true, true ); // allow remote
|
NET_Config( true, true ); // allow remote
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue