mirror of
https://github.com/ValveSoftware/GameNetworkingSockets.git
synced 2026-05-29 16:20:34 +00:00
Fix uninitialized AppID.
This would cause clients to complain that their certs cannot be used becuase they were for different "apps". We probably need to add an interface to set this, so that this code can properly interop with the Steam code running a real app.
This commit is contained in:
@@ -288,6 +288,11 @@ bool CSteamNetworkingSockets::BInitGameNetworkingSockets( const SteamNetworkingI
|
||||
else
|
||||
CacheIdentity();
|
||||
|
||||
// Dummy AppID. (Zero is a reserved value, don't use that.)
|
||||
// If we want to be able to interop with the Steam code,
|
||||
// we're going to need a way to set this, probably.
|
||||
m_nAppID = 1;
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user