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

tr2/lara/state: fix walk-run-jump breaking #2131

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

lahm86
Copy link
Collaborator

@lahm86 lahm86 commented Dec 27, 2024

Resolves #1587.

Checklist

  • I have read the coding conventions
  • I have added a changelog entry about what my pull request accomplishes, or it is an internal change

Description

This resets the jump lock when going from walking to running to fix cases when previous RUN_START animations have been interrupted. #934 has a video for how to replicate this.

I've also moved the jump lock variable to module scope as it's only needed here.

This moves Lara's jump lock variable to state module scope.
This resets the jump lock when going from walking to running to fix
cases when previous RUN_START animations have been interrupted.

Resolves LostArtefacts#1587.
@lahm86 lahm86 added OG bug A bug in original game TR2 labels Dec 27, 2024
@lahm86 lahm86 self-assigned this Dec 27, 2024
@lahm86 lahm86 requested review from a team as code owners December 27, 2024 16:10
@lahm86 lahm86 requested review from rr-, walkawayy and aredfan and removed request for a team December 27, 2024 16:10
Copy link

@lahm86 lahm86 merged commit 022747f into LostArtefacts:develop Dec 27, 2024
6 checks passed
@lahm86 lahm86 deleted the issue-1587-fix-walk-run-jump branch December 27, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OG bug A bug in original game TR2
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

OG bug: walk-run-jump can break
3 participants