Fix auto jump for ladders; overhang cleanup

This commit is contained in:
Sezz 2022-02-26 23:08:48 +11:00
parent a0cbf296a3
commit ad9dfb2ec2
5 changed files with 301 additions and 289 deletions

View file

@ -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);