Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
lara/col: fix regression in Lara_TestWaterStepOut
Browse files Browse the repository at this point in the history
Resolves #231.
  • Loading branch information
rr- committed Sep 11, 2024
1 parent f7ebd28 commit a378d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
- fixed items not being reset between level loads (#142, regression from 0.1)
- fixed pulling the dagger from the dragon not activating triggers (#148, regression from 0.1)
- fixed the music at the beginning of Offshore Rig not playing (#150, regression from 0.1)
- fixed wade animation when moving from deep to shallow water (#231, regression from 0.1)
- improved initial level load time by lazy-loading audio samples (#114)
- improved crash debug information (#137)
- improved the console caret sprite (#91)
Expand Down
2 changes: 1 addition & 1 deletion src/game/lara/lara_col.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ bool __cdecl Lara_TestWaterStepOut(
return false;
}

if (coll->side_mid.floor >= -STEP_L / 2) {
if (coll->side_mid.floor < -STEP_L / 2) {
item->current_anim_state = LS_WATER_OUT;
item->goal_anim_state = LS_STOP;
item->anim_num = LA_ONWATER_TO_WADE;
Expand Down

0 comments on commit a378d5d

Please sign in to comment.