mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
More accurate Steam_Friends::Deprecated_GetFriendGamePlayed()
This commit is contained in:
parent
186a9a6b32
commit
40a287f24b
@ -358,11 +358,8 @@ EPersonaState Steam_Friends::GetFriendPersonaState( CSteamID steamIDFriend )
|
|||||||
bool Steam_Friends::Deprecated_GetFriendGamePlayed(CSteamID steamIDFriend, int32 *pnGameID, uint32 *punGameIP, uint16 *pusGamePort)
|
bool Steam_Friends::Deprecated_GetFriendGamePlayed(CSteamID steamIDFriend, int32 *pnGameID, uint32 *punGameIP, uint16 *pusGamePort)
|
||||||
{
|
{
|
||||||
PRINT_DEBUG_ENTRY();
|
PRINT_DEBUG_ENTRY();
|
||||||
if (punGameIP)
|
// TODO: real steam seems not to fill memory pointed by pnGameID
|
||||||
*punGameIP = 0;
|
return GetFriendGamePlayed(steamIDFriend, NULL, punGameIP, pusGamePort, NULL);
|
||||||
if (pusGamePort)
|
|
||||||
*pusGamePort = 0;
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user