Correct GetSteamAccountID validation parameter (#1158).
Correctly forward the validated parameter within CPlayer::GetSteamAccountID.
This commit is contained in:
parent
664b352559
commit
9d978f5581
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user