Fixed logic bug in class flag filtering.

This commit is contained in:
richard 2009-06-22 16:10:40 +02:00
parent c24d1a32be
commit 2cb31db94d

View File

@ -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;