mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[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:
@@ -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);
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user