Skip to content

Commit

Permalink
More accurate Steam_Friends::Deprecated_GetFriendGamePlayed()
Browse files Browse the repository at this point in the history
  • Loading branch information
universal963 committed Oct 26, 2024
1 parent 186a9a6 commit 40a287f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions dll/steam_friends.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,8 @@ EPersonaState Steam_Friends::GetFriendPersonaState( CSteamID steamIDFriend )
bool Steam_Friends::Deprecated_GetFriendGamePlayed(CSteamID steamIDFriend, int32 *pnGameID, uint32 *punGameIP, uint16 *pusGamePort)
{
PRINT_DEBUG_ENTRY();
if (punGameIP)
*punGameIP = 0;
if (pusGamePort)
*pusGamePort = 0;
return true;
// TODO: real steam seems not to fill memory pointed by pnGameID
return GetFriendGamePlayed(steamIDFriend, NULL, punGameIP, pusGamePort, NULL);
}


Expand Down

0 comments on commit 40a287f

Please sign in to comment.