Skip to content

Commit

Permalink
engine: client: initialize netadr_t structure in LAN games scan
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Aug 2, 2023
1 parent aee99f6 commit 87a56a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/client/cl_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 87a56a5

Please sign in to comment.