[saco] Match FUNC_10014380 and FUNC_10014390; both are class-body getters whose COMDATs need an in-TU caller

This commit is contained in:
ricardoofnl committed 2026-09-05 10:07:57 +07:00
1 parent 99dda3ded5
commit 8b78747e06
2 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -166,7 +166,7 @@ void CRemotePlayer::FUNC_100143A0()
{
if(!m_pPlayerPed) return;
if(!m_pPlayerPed->IsAdded()) return;
if(field_10C) return;
if(FUNC_10014390()) return;
if(pGame && !pGame->m_bHeadMove) return;
if(m_pPlayerPed->FUNC_100ADC90()) return;
@@ -401,7 +401,7 @@ void CRemotePlayer::FUNC_10017260(BYTE *pSync, int iTime)
// the sign-bit mask is what emits jns; '< 0' emits jge
if(field_C5.iAnimation & 0x80000000) field_C5.iAnimation = 0;
if(m_pPlayerPed && m_pPlayerPed->IsInVehicle() && field_C != 3 && field_C != 4 &&
if(m_pPlayerPed && m_pPlayerPed->IsInVehicle() && FUNC_10014380() != 3 && FUNC_10014380() != 4 &&
!m_pPlayerPed->FUNC_100AC640()) FUNC_100148F0();
if(field_10A != 17) field_10A = 17;
+3
View File
@@ -78,6 +78,9 @@ public:
BOOL FUNC_10001080() { return m_pPlayerPed && field_10A; }; // .text:10001080
char FUNC_10014380() { return field_C; }; // .text:10014380
int FUNC_10014390() { return field_10C; }; // .text:10014390
void EnterVehicle(VEHICLEID VehicleID, BOOL bPassenger);
void ExitVehicle();