]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
-Fixed a minor bug in ResetMasks.
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 28 Dec 2004 16:27:50 +0000 (16:27 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 28 Dec 2004 16:27:50 +0000 (16:27 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4891 d7cf8633-e32d-0410-b094-e92efae38249

netconn.c

index 89f651adab80d5338251a739a3a2a32f36eb1b2a..e2d34910f8026cec73edfff270c9214ddcc66ac2 100755 (executable)
--- 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)