Skip to content

Commit

Permalink
A few small changes to sync with Steamworks.
Browse files Browse the repository at this point in the history
  • Loading branch information
zpostfacto committed Feb 24, 2020
1 parent 9ba30bd commit 32edc0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions include/steam/isteamnetworkingsockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,6 @@ class ISteamNetworkingSockets
};
#define STEAMNETWORKINGSOCKETS_INTERFACE_VERSION "SteamNetworkingSockets008"

extern "C" {

// Global accessor.
#if defined( STEAMNETWORKINGSOCKETS_PARTNER )

Expand Down Expand Up @@ -556,6 +554,4 @@ struct SteamNetAuthenticationStatus_t

#pragma pack( pop )

}

#endif // ISTEAMNETWORKINGSOCKETS
4 changes: 3 additions & 1 deletion include/steam/isteamnetworkingutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ class ISteamNetworkingUtils
gameserver one. Yes, this is a completely terrible hack */
SteamInternal_FindOrCreateUserInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) ?
SteamInternal_FindOrCreateUserInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ) :
SteamInternal_FindOrCreateGameServerInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION )
SteamInternal_FindOrCreateGameServerInterface( 0, STEAMNETWORKINGUTILS_INTERFACE_VERSION ),
"global",
STEAMNETWORKINGUTILS_INTERFACE_VERSION
)
#endif

Expand Down

0 comments on commit 32edc0d

Please sign in to comment.