Use SetPedState

This commit is contained in:
Sergeanur
2020-12-15 05:11:02 +02:00
parent 3c8c20ea0b
commit f76dfaee82
12 changed files with 87 additions and 149 deletions

View File

@@ -419,7 +419,7 @@ CPlayerInfo::Process(void)
if (found)
sth.z = 1.0f + groundZ;
m_pPed->m_nPedState = PED_IDLE;
m_pPed->SetPedState(PED_IDLE);
m_pPed->SetMoveState(PEDMOVE_STILL);
CPed::PedSetOutCarCB(0, m_pPed);
CAnimManager::BlendAnimation(m_pPed->GetClump(), m_pPed->m_animGroup, ANIM_IDLE_STANCE, 100.0f);