From b7d4efcb536a746e6bfc9f3a7243d5fa77dfe42e Mon Sep 17 00:00:00 2001 From: black Date: Tue, 21 Dec 2004 21:53:22 +0000 Subject: [PATCH] -Fixed a minor bug in the mask function git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4878 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2