mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 17:57:59 +03:00
Update lara_tests.cpp
This commit is contained in:
parent
87f89e1ab8
commit
a72045c99b
1 changed files with 1 additions and 3 deletions
|
@ -842,9 +842,7 @@ CORNER_RESULT TestLaraHangCorner(ITEM_INFO* item, COLL_INFO* coll, float testAng
|
|||
Lara.cornerX = item->pos.xPos;
|
||||
Lara.cornerZ = item->pos.zPos;
|
||||
|
||||
auto result = TestLaraValidHangPos(item, coll);
|
||||
|
||||
if (result)
|
||||
if (TestLaraValidHangPos(item, coll))
|
||||
{
|
||||
if (abs(oldFrontFloor - coll->Front.Floor) <= SLOPE_DIFFERENCE)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue