Skip to content

Commit

Permalink
tr2/lara/state: stop walking when killed
Browse files Browse the repository at this point in the history
Resolves #1880.
  • Loading branch information
lahm86 committed Nov 12, 2024
1 parent e19ae60 commit cee5759
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/tr2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- fixed Lara getting stuck in her hit animation if she is hit while mounting the boat or skidoo (#1606)
- fixed being unable to go from surface swimming to underwater swimming without first stopping (#1863, regression from 0.6)
- fixed pistols appearing in Lara's hands when entering the fly cheat during certain animations (#1874)
- fixed Lara continuing to walk after being killed if in that animation (#1880, regression from 0.1)

## [0.6](https://github.com/LostArtefacts/TRX/compare/tr2-0.5...tr2-0.6) - 2024-11-06
- added a fly cheat key (#1642)
Expand Down
1 change: 1 addition & 0 deletions src/tr2/game/lara/state.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ void __cdecl Lara_State_Walk(ITEM *item, COLL_INFO *coll)
{
if (item->hit_points <= 0) {
item->goal_anim_state = LS_STOP;
return;
}

if (g_Input.left) {
Expand Down

0 comments on commit cee5759

Please sign in to comment.