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

"Center view" centers to player's current z-level #76975

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

RenechCDDA
Copy link
Member

Summary

None

Purpose of change

Related to #76974, pressing the center view button doesn't reset the z-level offset

Describe the solution

Reset the z-level offset when that command is sent.

Technically speaking we don't have any method to permanently offset the player's view across z-levels, so this should never be necessary. But it's free and setting a z-level offset could be implemented.

This just makes it work as you'd expect it to work - instead of never modifying the z-level offset, it just centers it! 'Cause you told the game to "center view"!

Describe alternatives you've considered

Testing

2024-10-11.16-05-00.mp4

Additional context

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Oct 11, 2024
@Night-Pryanik Night-Pryanik merged commit 6e65f4a into CleverRaven:master Oct 12, 2024
28 checks passed
@RenechCDDA RenechCDDA deleted the reset_z_level_view branch October 12, 2024 08:11
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants