From a0582fb21a8a3ad4a874bbbd0671b374cddc490c Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Tue, 26 Apr 2011 02:32:05 +0000 Subject: [PATCH] Fix a little quirk still --- code/qcommon/net_ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index 2708e9b2..fe5c8da6 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -425,7 +425,7 @@ qboolean NET_CompareBaseAdrMask(netadr_t a, netadr_t b, int netmask) if(curbyte && memcmp(addra, addrb, curbyte)) return qfalse; - netmask &= ~0x07; + netmask &= 0x07; if(netmask) { cmpmask = (1 << netmask) - 1;