[saco] Implement/match CLocalPlayer::GetPlayerColorAsRGBA()

This commit is contained in:
RD42
2024-10-20 17:23:00 +08:00
parent fd79de6997
commit b860b6a926
2 changed files with 8 additions and 0 deletions

View File

@ -92,3 +92,10 @@ void CLocalPlayer::SetPlayerColor(DWORD dwColor)
//----------------------------------------------------
DWORD CLocalPlayer::GetPlayerColorAsRGBA()
{
return TranslateColorCodeToRGBA(pNetGame->GetPlayerPool()->GetLocalPlayerID());
}
//----------------------------------------------------