diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-26 18:35:40 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-26 18:35:40 +0100 |
commit | 0f623c23543166a67c7fd1881cc05995dd274bba (patch) | |
tree | f5ff0a8ada3d0211af2c3a2a04b7b680435a1a77 /src/control/Script5.cpp | |
parent | Fix doubles in ZoneCull (diff) | |
download | re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.gz re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.bz2 re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.lz re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.xz re3-0f623c23543166a67c7fd1881cc05995dd274bba.tar.zst re3-0f623c23543166a67c7fd1881cc05995dd274bba.zip |
Diffstat (limited to '')
-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 b54d425c..464a77d8 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -2450,10 +2450,10 @@ bool CTheScripts::IsPlayerStopped(CPlayerInfo* pPlayer) CPed* pPed = pPlayer->m_pPed; if (pPed->bInVehicle) 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; } |