engine: client: initialize netadr_t structure in LAN games scan

This commit is contained in:
Alibek Omarov 2023-08-03 01:11:31 +03:00
parent aee99f6094
commit 87a56a5fa1
1 changed files with 2 additions and 0 deletions

View File

@ -1555,6 +1555,8 @@ void CL_LocalServers_f( void )
{
netadr_t adr;
memset( &adr, 0, sizeof( adr ));
Con_Printf( "Scanning for servers on the local network area...\n" );
NET_Config( true, true ); // allow remote