Skip to content

Conversation

@rurumi0318
Copy link

Fix a bug in HasAnyInternal where the intersection logic for sorted tag indices was incorrectly implemented.

The previous code skipped potential matches by starting at the wrong index and used inverted pointer advancement logic, causing false negatives. The fix implements a standard two-pointer approach to correctly and efficiently identify overlapping tags.

Closes #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GameplayTagContainerExtensionMethods.HasAny doesn't work correctly

2 participants