mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
Fix incorrect crawl-to-hang snap
This commit is contained in:
parent
7bfd755378
commit
919b9cb349
1 changed files with 2 additions and 2 deletions
|
@ -111,10 +111,10 @@ void DoLaraCrawlVault(ITEM_INFO* item, COLL_INFO* coll)
|
|||
|
||||
void DoLaraCrawlToHangSnap(ITEM_INFO* item, COLL_INFO* coll)
|
||||
{
|
||||
coll->Setup.ForwardAngle += ANGLE(180.0f);
|
||||
coll->Setup.ForwardAngle = item->pos.yRot + ANGLE(180.0f);
|
||||
GetCollisionInfo(coll, item);
|
||||
SnapItemToLedge(item, coll);
|
||||
MoveItem(item, coll->Setup.ForwardAngle, -LARA_RAD_CRAWL);
|
||||
MoveItem(item, item->pos.yRot, -LARA_RAD_CRAWL);
|
||||
item->pos.yRot += ANGLE(180.0f);
|
||||
LaraResetGravityStatus(item, coll);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue