From: black Date: Tue, 21 Dec 2004 21:53:22 +0000 (+0000) Subject: -Fixed a minor bug in the mask function X-Git-Tag: xonotic-v0.1.0preview~5261 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b7d4efcb536a746e6bfc9f3a7243d5fa77dfe42e;p=xonotic%2Fdarkplaces.git -Fixed a minor bug in the mask function git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4878 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/netconn.c b/netconn.c index 196288fd..d6ba818b 100755 --- a/netconn.c +++ b/netconn.c @@ -154,7 +154,7 @@ static qboolean _hc_testint( int A, hostcache_infofield_t op, int B ) int diff; diff = A - B; - switch( hostcache_currentmask.pingtest ) { + switch( op ) { case HCMO_GREATER: if( !diff ) return false;