Fix a little quirk still

This commit is contained in:
Thilo Schulz 2011-04-26 02:32:05 +00:00
parent 797d127dfc
commit a0582fb21a

View file

@ -425,7 +425,7 @@ qboolean NET_CompareBaseAdrMask(netadr_t a, netadr_t b, int netmask)
if(curbyte && memcmp(addra, addrb, curbyte)) if(curbyte && memcmp(addra, addrb, curbyte))
return qfalse; return qfalse;
netmask &= ~0x07; netmask &= 0x07;
if(netmask) if(netmask)
{ {
cmpmask = (1 << netmask) - 1; cmpmask = (1 << netmask) - 1;