[saco] Implement/match CActorPed::SetStateFlags(...)

This commit is contained in:
RD42 2024-10-30 18:09:06 +08:00
parent 6de35774d9
commit 6a3f528e9f
2 changed files with 9 additions and 0 deletions

View File

@ -169,3 +169,11 @@ DWORD CActorPed::GetStateFlags()
//----------------------------------------------------------- //-----------------------------------------------------------
void CActorPed::SetStateFlags(DWORD dwState)
{
if(!m_pPed) return;
m_pPed->dwStateFlags = dwState;
}
//-----------------------------------------------------------

View File

@ -19,6 +19,7 @@ public:
float GetArmour(); float GetArmour();
void SetArmour(float fArmour); void SetArmour(float fArmour);
DWORD GetStateFlags(); DWORD GetStateFlags();
void SetStateFlags(DWORD dwStateFlags);
void ApplyAnimation(char *szAnimName, char *szAnimFile, float fT, void ApplyAnimation(char *szAnimName, char *szAnimFile, float fT,
int opt1, int opt2, int opt3, int opt4, int iUnk); int opt1, int opt2, int opt3, int opt4, int iUnk);