From 84fcc91cb24b74497563e8b84f2fe5c42143ec41 Mon Sep 17 00:00:00 2001 From: black Date: Tue, 28 Dec 2004 16:27:50 +0000 Subject: [PATCH] -Fixed a minor bug in ResetMasks. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4891 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netconn.c b/netconn.c index 89f651ad..e2d34910 100755 --- a/netconn.c +++ b/netconn.c @@ -289,7 +289,7 @@ void HostCache_RebuildViewSet(void) void HostCache_ResetMasks(void) { memset( &hostcache_andmasks, 0, sizeof( hostcache_andmasks ) ); - memset( &hostcache_andmasks, 0, sizeof( hostcache_andmasks ) ); + memset( &hostcache_ormasks, 0, sizeof( hostcache_ormasks ) ); } @@ -304,6 +304,8 @@ void HostCache_QueryList(void) hostcache_viewcount = 0; hostcache_consoleoutput = false; NetConn_QueryMasters(); + + //_HostCache_PingTest(); } #if 0 @@ -1740,8 +1742,6 @@ void Net_Slist_f(void) Con_Print("Listening for replies...\n"); } else HostCache_QueryList(); - - //_HostCache_PingTest(); } void NetConn_Init(void) -- 2.39.2