-
Notifications
You must be signed in to change notification settings - Fork 19
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
Hook is weaker while hooking to left #89
Comments
I don't understand what's different about the new code. Can you give example values where they differ? |
I have no example values, but gameplay videos, you can see the difference weak.mp4normal.mp4 |
If you can generate these examples, perhaps you could run both functions and issue a |
I was curious about the difference between those two functions as well. I created a small playground project to get value mismatches. |
The difference happens when the updated value is still outside the range, but closer to the accepted range: E.g. range -1..0, value 2, modifier -1. The old code outputted 0 (a bug, I think), the new code outputs 1. Thanks for the clear reproduction example, @Patiga! @gerdoe-jr Can you create a pull request? :) |
libtw2/world/src/lib.rs
Lines 737 to 748 in b928667
After changing this code to next given hook problem disappears though
The text was updated successfully, but these errors were encountered: