Skip to content

Improve camera mode validation #873

Closed

Description

@NexiusTailer

Now camera modes are validated this way:

// Fix for camera shaking hack, i think there are more bugged ids
if (aimSync.CamMode == 34u || aimSync.CamMode == 45u || aimSync.CamMode == 41u || aimSync.CamMode == 42u || aimSync.CamMode == 49u)
aimSync.CamMode = 4u;

But:

  1. It should firstly consider that it's in range of 0..65
  2. The list of surely invalid camera modes related to aiming (so they could cause the same artifacts like derpcam and others) can be extended with 5, 39, 40, 43 and 52 values

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions