[saco] Match CRemotePlayer::FUNC_10017C80; the dead out-of-line COMDAT comes back once ScrUnk50 calls the inline setter instead of assigning field_4 directly

This commit is contained in:
ricardoofnl
2026-09-05 08:59:30 +07:00
parent efad9a4425
commit 85d533a5af
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -74,6 +74,8 @@ public:
DWORD GetPlayerColorAsRGBA();
DWORD GetPlayerColorAsARGB();
void FUNC_10017C80(BYTE byteValue) { field_4 = (byteValue != 0); }; // .text:10017C80
BOOL FUNC_10001080() { return m_pPlayerPed && field_10A; }; // .text:10001080
void EnterVehicle(VEHICLEID VehicleID, BOOL bPassenger);
+1 -1
View File
@@ -232,7 +232,7 @@ void ScrUnk50(RPCParameters *rpcParams)
bsData.Read(byteUnk);
if(pNetGame->GetPlayerPool()->GetSlotState(playerId)) {
pNetGame->GetPlayerPool()->GetAt(playerId)->field_4 = (byteUnk != 0);
pNetGame->GetPlayerPool()->GetAt(playerId)->FUNC_10017C80(byteUnk);
}
}
void ScrUnk63(RPCParameters *rpcParams) {}