Fixed logic bug in class flag filtering.
This commit is contained in:
parent
c24d1a32be
commit
2cb31db94d
|
@ -492,7 +492,7 @@ stock bool:ClassFlagFilterMatch(index, require, deny, cachetype)
|
|||
}
|
||||
|
||||
// Match deny filter.
|
||||
if (deny == 0 || ~flags & deny)
|
||||
if (deny == 0 || !(flags & deny))
|
||||
{
|
||||
// No denied flags are set.
|
||||
denypassed = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user