mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 16:57:57 +03:00
fix crouch roll embedding in 1-2 click ledges
This commit is contained in:
parent
6d4cfeef98
commit
98833d3345
1 changed files with 1 additions and 1 deletions
|
@ -5163,7 +5163,7 @@ void lara_as_crouch_roll(ITEM_INFO* item, COLL_INFO* coll)
|
|||
|
||||
/*stop Lara from doing it in these conditions to avoid trouble*/
|
||||
if (LaraFloorFront(item, item->pos.yRot, 1024) >= 512 || //4 clicks away from holes in the floor
|
||||
TestWall(item, 1024, 0, -640)) //4 clicks away from walls
|
||||
TestWall(item, 1024, 0, -128)) //4 clicks away from walls
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue