mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-03 18:27:59 +03:00
Use correct tests in swamp turn left slow pseudo state
This commit is contained in:
parent
c9e0d8d3d4
commit
3493274661
1 changed files with 4 additions and 4 deletions
|
@ -1282,23 +1282,23 @@ void PsuedoLaraAsSwampTurnLeftSlow(ITEM_INFO* item, CollisionInfo* coll)
|
||||||
SetLaraVault(item, coll, vaultResult);
|
SetLaraVault(item, coll, vaultResult);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (TestLaraRunForward(item, coll)) [[likely]]
|
else if (TestLaraWadeForwardSwamp(item, coll)) [[likely]]
|
||||||
item->Animation.TargetState = LS_WADE_FORWARD;
|
item->Animation.TargetState = LS_WADE_FORWARD;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (TrInput & IN_BACK && TestLaraWalkBack(item, coll))
|
else if (TrInput & IN_BACK && TestLaraWalkBackSwamp(item, coll))
|
||||||
{
|
{
|
||||||
item->Animation.TargetState = LS_WALK_BACK;
|
item->Animation.TargetState = LS_WALK_BACK;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TrInput & IN_LSTEP && TestLaraStepLeft(item, coll))
|
if (TrInput & IN_LSTEP && TestLaraStepLeftSwamp(item, coll))
|
||||||
{
|
{
|
||||||
item->Animation.TargetState = LS_STEP_LEFT;
|
item->Animation.TargetState = LS_STEP_LEFT;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (TrInput & IN_RSTEP && TestLaraStepRight(item, coll))
|
else if (TrInput & IN_RSTEP && TestLaraStepRightSwamp(item, coll))
|
||||||
{
|
{
|
||||||
item->Animation.TargetState = LS_STEP_RIGHT;
|
item->Animation.TargetState = LS_STEP_RIGHT;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue