mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-11 04:56:49 +03:00
fix backwards slide state
This commit is contained in:
parent
b502235274
commit
ab7ffa98a6
1 changed files with 1 additions and 1 deletions
|
@ -5872,7 +5872,7 @@ void lara_slide_slope(ITEM_INFO* item, COLL_INFO* coll)//127BC, 1286C (F)
|
|||
|
||||
if (abs(coll->tiltX) <= 2 && abs(coll->tiltZ) <= 2)
|
||||
{
|
||||
if (TrInput & IN_FORWARD)
|
||||
if (TrInput & IN_FORWARD && item->currentAnimState != STATE_LARA_SLIDE_BACK)
|
||||
{
|
||||
item->goalAnimState = STATE_LARA_RUN_FORWARD;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue