mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Fix an apparent snafu in set_test.
It looks like a bit of case&paste where I forgot to change != to &.
This commit is contained in:
parent
1fead50f4e
commit
4cc8d4a04b
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ set_test (const set_t *s1, const set_t *s2)
|
|||
end = min (s1->size, s2->size) / BITS;
|
||||
for (i = 0; i < end; i++) {
|
||||
if (s1->map[i] != s2->map[i]) {
|
||||
if (s1->map[i] != s2->map[i])
|
||||
if (s1->map[i] & s2->map[i])
|
||||
return set_intersecting;
|
||||
else
|
||||
rval = set_disjoint;
|
||||
|
|
Loading…
Reference in a new issue