diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-27 17:50:24 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-27 17:50:24 +0100 |
commit | 97351ad2c2a05f9221601b27432aaf7b51507103 (patch) | |
tree | 7ce01d3e594fdf2894199cda0474bbc8f65de33b /src/control/Script8.cpp | |
parent | Fix anim id in replay (diff) | |
download | re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.gz re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.bz2 re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.lz re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.xz re3-97351ad2c2a05f9221601b27432aaf7b51507103.tar.zst re3-97351ad2c2a05f9221601b27432aaf7b51507103.zip |
Diffstat (limited to 'src/control/Script8.cpp')
-rw-r--r-- | src/control/Script8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script8.cpp b/src/control/Script8.cpp index 9a8e536e..2d1ccdf4 100644 --- a/src/control/Script8.cpp +++ b/src/control/Script8.cpp @@ -55,7 +55,7 @@ int8 CRunningScript::ProcessCommands1400To1499(int32 command) ((CPlayerPed*)pPed)->m_fMoveSpeed = 0.0f; else pPed->m_nStoredMoveState = PEDMOVE_STILL; - CAnimManager::AddAnimation(pPed->GetClump(), pPed->m_animGroup, ANIM_IDLE_STANCE); + CAnimManager::AddAnimation(pPed->GetClump(), pPed->m_animGroup, ANIM_STD_IDLE); pPed->bIsPedDieAnimPlaying = false; } return 0; @@ -346,7 +346,7 @@ int8 CRunningScript::ProcessCommands1400To1499(int32 command) CollectParameters(&m_nIp, 1); CPed* pPed = CPools::GetPedPool()->GetAt(ScriptParams[0]); script_assert(pPed); - UpdateCompareFlag(RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_DUCK_DOWN) != nil); + UpdateCompareFlag(RpAnimBlendClumpGetAssociation(pPed->GetClump(), ANIM_STD_DUCK_DOWN) != nil); return 0; } case COMMAND_CREATE_DUST_EFFECT_FOR_CUTSCENE_HELI: |