[saco] Implement/match CPlayerPed::FUNC_100AD440; the armed-weapon compare stays byte wide, and this one really does use destroy_object_with_fade

This commit is contained in:
ricardoofnl
2026-09-05 09:09:30 +07:00
parent 457fb47ee6
commit 4ea69b96c0
2 changed files with 15 additions and 0 deletions
+13
View File
@@ -2312,3 +2312,16 @@ DWORD CPlayerPed::FUNC_100AE790()
return FUNC_100AE6A0();
}
//-----------------------------------------------------------
void CPlayerPed::FUNC_100AD440()
{
if(!GamePool_Ped_GetAt(m_dwGTAId)) return;
if(!IsAdded()) return;
if(!field_2B9) return;
if(FUNC_100ABC50() == 46) return;
ScriptCommand(&disassociate_object, field_2B9, 0.0f, 0.0f, 0.0f, 0);
ScriptCommand(&destroy_object_with_fade, field_2B9);
field_2B9 = 0;
}
//-----------------------------------------------------------
+2
View File
@@ -238,6 +238,8 @@ public:
DWORD FUNC_100AE5F0(DWORD *pTask); // .text:100AE5F0
DWORD FUNC_100AE6A0(); // .text:100AE6A0
void FUNC_100AD440(); // .text:100AD440
int m_iCellPhoneEnabled;
int field_4C[10];
struc_97 field_74[10];