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

This commit is contained in:
RD42 2024-10-30 18:10:15 +08:00
parent 348a33e8d5
commit dc5b5ec1c0
2 changed files with 8 additions and 0 deletions

View File

@ -186,3 +186,10 @@ BOOL CActorPed::IsDead()
//----------------------------------------------------------- //-----------------------------------------------------------
BYTE CActorPed::GetActionTrigger()
{
return (BYTE)m_pPed->dwAction;
}
//-----------------------------------------------------------

View File

@ -21,6 +21,7 @@ public:
DWORD GetStateFlags(); DWORD GetStateFlags();
void SetStateFlags(DWORD dwStateFlags); void SetStateFlags(DWORD dwStateFlags);
BOOL IsDead(); BOOL IsDead();
BYTE GetActionTrigger();
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);