mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 17:57:59 +03:00
Do smooth step in splat state
This commit is contained in:
parent
d41a9be677
commit
16f1fce848
1 changed files with 5 additions and 2 deletions
|
@ -1474,8 +1474,11 @@ void lara_col_splat(ITEM_INFO* item, CollisionInfo* coll)
|
|||
|
||||
ShiftItem(item, coll);
|
||||
|
||||
if (abs(coll->Middle.Floor) <= CLICK(1))
|
||||
LaraSnapToHeight(item, coll);
|
||||
if (TestLaraStep(item, coll))
|
||||
{
|
||||
DoLaraStep(item, coll);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// State: LS_WALK_BACK (16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue