mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 03:33:04 +08:00
[saco] Implement/match CPlayerPed::FUNC_100AF1F0; the ped local is stored before its own test, then the tail call reloads this
This commit is contained in:
@@ -2231,6 +2231,20 @@ int CPlayerPed::FUNC_100AD9E0()
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::FUNC_100AF1F0()
|
||||
{
|
||||
DWORD dwPedPtr = (DWORD)m_pPed;
|
||||
|
||||
if(dwPedPtr) {
|
||||
_asm mov ecx, dwPedPtr
|
||||
_asm mov eax, 0x532B20
|
||||
_asm call eax
|
||||
}
|
||||
|
||||
FUNC_100AEF90();
|
||||
}
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::FUNC_100AE530(int a1, int a2)
|
||||
{
|
||||
if(!m_pPed) return;
|
||||
|
||||
@@ -228,6 +228,8 @@ public:
|
||||
|
||||
int FUNC_100AD9C0(); // .text:100AD9C0
|
||||
int FUNC_100AD9E0(); // .text:100AD9E0
|
||||
void FUNC_100AF1F0(); // .text:100AF1F0
|
||||
void FUNC_100AEF90(); // .text:100AEF90
|
||||
void FUNC_100AE530(int a1, int a2); // .text:100AE530
|
||||
|
||||
int m_iCellPhoneEnabled;
|
||||
|
||||
Reference in New Issue
Block a user