summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-26 18:35:40 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-26 18:35:40 +0100
commit0f623c23543166a67c7fd1881cc05995dd274bba (patch)
treef5ff0a8ada3d0211af2c3a2a04b7b680435a1a77 /src/control/Script.cpp
parentFix doubles in ZoneCull (diff)
downloadre3-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/Script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index e70bd508..5598f3c9 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -4266,7 +4266,7 @@ int8 CRunningScript::ProcessCommands200To299(int32 command)
#ifdef FIX_BUGS
AnimationId anim = pVehicle->GetDriverAnim();
#else
- AnimationId anim = pVehicle->bLowVehicle ? ANIM_CAR_LSIT : ANIM_CAR_SIT;
+ AnimationId anim = pVehicle->bLowVehicle ? ANIM_STD_CAR_SIT_LO : ANIM_STD_CAR_SIT;
#endif
pPed->m_pVehicleAnim = CAnimManager::BlendAnimation(pPed->GetClump(), ASSOCGRP_STD, anim, 100.0f);
pPed->StopNonPartialAnims();
@@ -4309,7 +4309,7 @@ int8 CRunningScript::ProcessCommands200To299(int32 command)
pPlayer->m_pPed->m_pVehicleAnim->blendDelta = -1000.0f;
pPlayer->m_pPed->m_pVehicleAnim = nil;
pPlayer->m_pPed->SetMoveState(PEDMOVE_NONE);
- CAnimManager::BlendAnimation(pPlayer->m_pPed->GetClump(), pPlayer->m_pPed->m_animGroup, ANIM_IDLE_STANCE, 100.0f);
+ CAnimManager::BlendAnimation(pPlayer->m_pPed->GetClump(), pPlayer->m_pPed->m_animGroup, ANIM_STD_IDLE, 100.0f);
pPlayer->m_pPed->RestartNonPartialAnims();
AudioManager.PlayerJustLeftCar();
pos.z += pPlayer->m_pPed->GetDistanceFromCentreOfMassToBaseOfModel();