Skip to content

Lasts use angles from a tick too early #44

@Zpiboo

Description

@Zpiboo

Bug Description

The angles in the lastJump, lastLanding, and lastHit infovars are taken from a tick too early.

Steps to Reproduce

  1. Join a world
  2. Optionally lower the tick rate using a mod or with the more recent /tick command to make things easier (the following steps can also be executed with a macro)
  3. Turn on land tick (lastLanding), on jump tick (lastJump) or 1t after landing (lastHit)
  4. Notice how the lastLanding/lastJump/lastHit yaw and pitch are the ones you had before turning

This is particularly noticeable when performing 45 strafes.

Expected Behavior

The angles should be taken from the current tick instead of the previous one in this part of the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-highPriority: HighT-bugType: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions