diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-08 11:24:49 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-08 11:24:49 +0100 |
commit | 94eed339409256ae92bc0a9c6f2f0ab6f036fae7 (patch) | |
tree | ac5ed50ebc73496ec00a4ad03b9ab2e7664affec /src/control/Script5.cpp | |
parent | Detect joystick menu for XInput (diff) | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into VCSanim (diff) | |
download | re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.gz re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.bz2 re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.lz re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.xz re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.tar.zst re3-94eed339409256ae92bc0a9c6f2f0ab6f036fae7.zip |
Diffstat (limited to 'src/control/Script5.cpp')
-rw-r--r-- | src/control/Script5.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp index cc70a170..1371f2e6 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -2627,10 +2627,10 @@ bool CTheScripts::IsPlayerStopped(CPlayerInfo* pPlayer) CPed* pPed = pPlayer->m_pPed; if (pPed->InVehicle()) return IsVehicleStopped(pPed->m_pMyVehicle); - if (RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_RUN_STOP) || - RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_RUN_STOP_R) || - RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_JUMP_LAUNCH) || - RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_JUMP_GLIDE)) + if (RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_STD_RUNSTOP1) || + RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_STD_RUNSTOP2) || + RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_STD_JUMP_LAUNCH) || + RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_STD_JUMP_GLIDE)) return false; return (pPed->m_nMoveState == PEDMOVE_NONE || pPed->m_nMoveState == PEDMOVE_STILL) && !pPed->bIsInTheAir && !pPed->bIsLanding && pPed->bIsStanding && pPed->m_vecAnimMoveDelta.x == 0.0f && pPed->m_vecAnimMoveDelta.y == 0.0f; |