-
-
Notifications
You must be signed in to change notification settings - Fork 500
Fix #1440 Driveby aiming is inverted in some cases #1442
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
Conversation
qaisjp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The nested ifs are a bit intense - please can you use return where possible?
|
I've tested it again after the commits. |
qaisjp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactor looks good. Force pushed to keep the bugfix and the refactor in distinct commits, so that we can do a rebase-merge or a merge commit.
Fixed by inverting fGunDirectionY if doing driveby and aiming left or behind.
Fixes #1440