Correct GetSteamAccountID validation parameter (#1158).

Correctly forward the validated parameter within CPlayer::GetSteamAccountID.
This commit is contained in:
bottiger1 2020-01-14 14:43:07 -08:00 committed by Kyle Sanderson
parent 664b352559
commit 9d978f5581

View File

@ -2238,7 +2238,7 @@ unsigned int CPlayer::GetSteamAccountID(bool validated)
{ {
if (!IsFakeClient() && (!validated || IsAuthStringValidated())) if (!IsFakeClient() && (!validated || IsAuthStringValidated()))
{ {
const CSteamID &id = GetSteamId(); const CSteamID &id = GetSteamId(validated);
if (id.IsValid()) if (id.IsValid())
return id.GetAccountID(); return id.GetAccountID();
} }