Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed collision check. #81

Merged

Conversation

Mia75owo
Copy link
Contributor

@Mia75owo Mia75owo commented Sep 3, 2024

This check was a typo. (br | BLOCKWERT_WAND) is always true because BLOCKWERT_WAND == 1. You can see in line 1080, how it was supposed to be, for checking in the left direction.

This check was a typo. (br | BLOCKWERT_WAND) is always true because
BLOCKWERT_WAND == 1. You can see in line 1079, how it was supposed to
be, for checking in the left direction.
@drfiemost drfiemost self-assigned this Sep 3, 2024
@drfiemost
Copy link
Member

Don't know how the bug manifests itself in gameplay but the code is obviously wrong. Nice catch!

@drfiemost drfiemost merged commit 5ac76b8 into HurricanGame:master Sep 3, 2024
6 checks passed
@Mia75owo Mia75owo deleted the Fixed-collision-check-in-Player.cpp branch September 15, 2024 15:05
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.

2 participants