summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-13 15:53:03 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-13 15:53:03 +0100
commit6682e56f7148c8803111104dccc4ebcd437fa9a9 (patch)
tree8bdcc0136c327d2fe0358e2d5d1f3bc086b3be3a
parentfix (diff)
downloadre3-6682e56f7148c8803111104dccc4ebcd437fa9a9.tar
re3-6682e56f7148c8803111104dccc4ebcd437fa9a9.tar.gz
re3-6682e56f7148c8803111104dccc4ebcd437fa9a9.tar.bz2
re3-6682e56f7148c8803111104dccc4ebcd437fa9a9.tar.lz
re3-6682e56f7148c8803111104dccc4ebcd437fa9a9.tar.xz
re3-6682e56f7148c8803111104dccc4ebcd437fa9a9.tar.zst
re3-6682e56f7148c8803111104dccc4ebcd437fa9a9.zip
-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 10dee77d..3466a52e 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -4723,18 +4723,18 @@ int8 CRunningScript::ProcessCommands200To299(int32 command)
pPlayer->m_pPed->m_pMyVehicle->RemovePassenger(pPlayer->m_pPed);
}
}
+ pPlayer->m_pPed->RemoveInCarAnims();
pPlayer->m_pPed->bInVehicle = false;
pPlayer->m_pPed->m_pMyVehicle = nil;
pPlayer->m_pPed->SetPedState(PED_IDLE);
pPlayer->m_pPed->bUsesCollision = true;
pPlayer->m_pPed->SetMoveSpeed(0.0f, 0.0f, 0.0f);
pPlayer->m_pPed->ReplaceWeaponWhenExitingVehicle();
- pPlayer->m_pPed->RemoveInCarAnims();
if (pPlayer->m_pPed->m_pVehicleAnim)
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_IDLE_STANCE, 1000.0f);
pPlayer->m_pPed->RestartNonPartialAnims();
AudioManager.PlayerJustLeftCar();
pos.z += pPlayer->m_pPed->GetDistanceFromCentreOfMassToBaseOfModel();