mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 03:33:04 +08:00
[saco] Implement/match CPlayerPed::FUNC_100AE790; the no-task branch tails into FUNC_100AE6A0 with this still in ecx
This commit is contained in:
@@ -2255,3 +2255,16 @@ void CPlayerPed::FUNC_100AE530(int a1, int a2)
|
||||
FUNC_100B1DA0(pRenderWare, a1, a2);
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
DWORD CPlayerPed::FUNC_100AE790()
|
||||
{
|
||||
if(!m_pPed) return 0;
|
||||
if(m_pPed->entity.vtable == 0x863C40) return 0;
|
||||
if(!m_pPed->entity.pdwRenderWare) return 0;
|
||||
|
||||
DWORD *pTask = FUNC_100AE6E0();
|
||||
if(pTask) return FUNC_100AE5F0(pTask);
|
||||
|
||||
return FUNC_100AE6A0();
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
@@ -232,6 +232,11 @@ public:
|
||||
void FUNC_100AEF90(); // .text:100AEF90
|
||||
void FUNC_100AE530(int a1, int a2); // .text:100AE530
|
||||
|
||||
DWORD FUNC_100AE790(); // .text:100AE790
|
||||
DWORD * FUNC_100AE6E0(); // .text:100AE6E0
|
||||
DWORD FUNC_100AE5F0(DWORD *pTask); // .text:100AE5F0
|
||||
DWORD FUNC_100AE6A0(); // .text:100AE6A0
|
||||
|
||||
int m_iCellPhoneEnabled;
|
||||
int field_4C[10];
|
||||
struc_97 field_74[10];
|
||||
|
||||
Reference in New Issue
Block a user