[saco] Implement/match CActorPed::ClearAnimations()

This commit is contained in:
RD42 2024-10-25 23:43:59 +08:00
parent 8ad4f28567
commit a196f13ff5
2 changed files with 13 additions and 0 deletions

View File

@ -79,6 +79,16 @@ BOOL __declspec(naked) FlushPedIntelligence()
_asm ret
}
void CActorPed::ClearAnimations()
{
dwActorPed = (DWORD)m_pPed;
if(dwActorPed) {
FlushPedIntelligence();
}
}
//-----------------------------------------------------------
//-----------------------------------------------------------
float CActorPed::GetHealth()

View File

@ -17,6 +17,9 @@ public:
float GetArmour();
void SetArmour(float fArmour);
void ClearAnimations();
PED_TYPE *m_pPed;
DWORD m_dwMarkerID;
DWORD m_dwArrow;