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

lara/col: fix regression in Lara_TestWaterStepOut #235

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,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