mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-09 03:58:19 +03:00
Increase tolerance for swandive into crawlspace
This commit is contained in:
parent
a8416c2d9b
commit
5b2f4ba66a
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ void lara_col_swandive(ITEM_INFO* item, COLL_INFO* coll)
|
|||
/*state code: lara_as_swandive*/
|
||||
info->moveAngle = item->pos.yRot;
|
||||
info->keepCrouched = TestLaraKeepCrouched(item, coll);
|
||||
coll->Setup.Height = (realHeight <= (LARA_HEIGHT / 3 * 2)) ? LARA_HEIGHT_CRAWL : LARA_HEIGHT;
|
||||
coll->Setup.Height = realHeight * 0.7f;
|
||||
coll->Setup.BadHeightDown = NO_BAD_POS;
|
||||
coll->Setup.BadHeightUp = -STEPUP_HEIGHT;
|
||||
coll->Setup.BadCeilingHeight = BAD_JUMP_CEILING;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue