-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
UBSAN: map.cpp:1613:45: runtime error: left shift of negative value -1 #519
Comments
Going to lump this one in here too, triggered when a Pfhor Fighter tried to attack.
alephone/Source_Files/GameWorld/map.cpp Line 1646 in d46b849
|
These are technically undefined, but they are universally 2's complement, which will become official once we switch the compiler to C++20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While investigating #518 I attempted to reproduce the error with ubsan enabled. Unfortunately upon attempting to generate noise and have enemies move into my line of sight the following error occurred. I believe it has to do with drawing the projectile/hitscan effect.
alephone/Source_Files/GameWorld/map.cpp
Line 1613 in d46b849
To Reproduce
The text was updated successfully, but these errors were encountered: