mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
Update lara_objects.cpp
This commit is contained in:
parent
2af6164a26
commit
5653a571bc
1 changed files with 1 additions and 4 deletions
|
@ -864,8 +864,7 @@ void lara_as_pole_idle(ITEM_INFO* item, COLL_INFO* coll)
|
|||
return;
|
||||
}
|
||||
|
||||
if (TrInput & IN_FORWARD &&
|
||||
TestLaraPoleUp(item, coll))
|
||||
if (TrInput & IN_FORWARD && TestLaraPoleUp(item, coll))
|
||||
{
|
||||
item->goalAnimState = LS_POLE_UP;
|
||||
return;
|
||||
|
@ -890,14 +889,12 @@ void lara_as_pole_idle(ITEM_INFO* item, COLL_INFO* coll)
|
|||
}
|
||||
|
||||
item->goalAnimState = LS_POLE_IDLE;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (coll->Middle.Floor <= 0)
|
||||
{
|
||||
item->goalAnimState = LS_STOP;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue