mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-08 11:38:08 +03:00
Fix swandive on bridges
This commit is contained in:
parent
50196db049
commit
b8c9927191
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ void lara_col_swandive(ITEM_INFO* item, COLL_INFO* coll)
|
|||
|
||||
if (coll->Middle.Floor <= 0 && item->fallspeed > 0)
|
||||
{
|
||||
auto probe = GetCollisionResult(item, coll->Setup.ForwardAngle, coll->Setup.Radius, 0);
|
||||
auto probe = GetCollisionResult(item, coll->Setup.ForwardAngle, coll->Setup.Radius, -coll->Setup.Height);
|
||||
|
||||
if (TestLaraSlide(item, coll))
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue