From: black Date: Tue, 28 Dec 2004 16:27:50 +0000 (+0000) Subject: -Fixed a minor bug in ResetMasks. X-Git-Tag: xonotic-v0.1.0preview~5251 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=84fcc91cb24b74497563e8b84f2fe5c42143ec41;p=xonotic%2Fdarkplaces.git -Fixed a minor bug in ResetMasks. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4891 d7cf8633-e32d-0410-b094-e92efae38249 --- 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)