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

Validate camera modes better #975

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

NexiusTailer
Copy link
Contributor

This fixes #873 and now it:

  • Considers that it's in range of 0..65 of all possible valid camera modes
  • Checks all invalid camera modes related to aiming

@uifdev
Copy link
Contributor

uifdev commented Aug 30, 2024

Why not only allow camera modes that are actually used by the game?

@NexiusTailer
Copy link
Contributor Author

Some may be used by other platforms. For example, camera mode 34 is not used by PC version of GTA SA, but it's generally valid and used by android clients.

@AmyrAhmady AmyrAhmady merged commit c0df2d9 into openmultiplayer:master Sep 8, 2024
14 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.

Improve camera mode validation
3 participants