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

Make "Reset Pitch" keybind consistent with initial starting pitch #4007

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

aco4
Copy link
Contributor

@aco4 aco4 commented Jul 11, 2024

By default, the keybind for "Reset Pitch" is Keypad 5. The default angle is 320°, as specified in display.h by INITIAL_STARTING_PITCH. However, keybind.cpp inconsistently sets the pitch to 340°. You can see this discrepancy in-game: (1) Start a skirmish game, and (2) press Keypad 5. The camera pitch lowers.

I modified keybind.cpp to use INITIAL_STARTING_PITCH instead of 340°.

@past-due past-due added this to the 4.5.2 milestone Jul 19, 2024
@KJeff01 KJeff01 merged commit 9dd8289 into Warzone2100:master Jul 22, 2024
37 checks passed
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.

3 participants