mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 17:57:59 +03:00
Fix auto jump for ladders; overhang cleanup
This commit is contained in:
parent
a0cbf296a3
commit
ad9dfb2ec2
5 changed files with 301 additions and 289 deletions
|
@ -114,8 +114,6 @@ void lara_as_auto_jump(ITEM_INFO* item, COLL_INFO* coll)
|
|||
coll->Setup.EnableObjectPush = false;
|
||||
coll->Setup.EnableSpasm = false;
|
||||
|
||||
info->Control.CalculatedJumpVelocity = -3 - sqrt(-9600 - 12 * std::max<int>(info->ProjectedFloorHeight - item->Position.yPos, -CLICK(7.5f)));
|
||||
|
||||
// Disable smooth angle adjustment for now.
|
||||
//if (info->Control.ApproachTargetAngle)
|
||||
// ApproachLaraTargetAngle(item, coll->NearestLedgeAngle, 2.5f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue