mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
engine: remove PROTOCOL_STEAM requirement
This commit is contained in:
@@ -570,7 +570,7 @@ bool CBaseClientState::PrepareSteamConnectResponse( uint64 unGSSteamID, bool bGS
|
||||
return true;
|
||||
}
|
||||
|
||||
#if !defined( NO_STEAM ) && !defined( SWDS )
|
||||
#if 0 //!defined( NO_STEAM ) && !defined( SWDS )
|
||||
if ( !Steam3Client().SteamUser() )
|
||||
{
|
||||
COM_ExplainDisconnection( true, "#GameUI_ServerRequireSteam" );
|
||||
@@ -578,14 +578,14 @@ bool CBaseClientState::PrepareSteamConnectResponse( uint64 unGSSteamID, bool bGS
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
netadr_t checkAdr = adr;
|
||||
if ( adr.GetType() == NA_LOOPBACK || adr.IsLocalhost() )
|
||||
{
|
||||
checkAdr.SetIP( net_local_adr.GetIPHostByteOrder() );
|
||||
}
|
||||
|
||||
#ifndef SWDS
|
||||
#if 0 // #ifndef SWDS
|
||||
// now append the steam3 cookie
|
||||
char steam3Cookie[ STEAM_KEYSIZE ];
|
||||
uint32 steam3CookieLen = 0;
|
||||
@@ -936,6 +936,7 @@ bool CBaseClientState::ProcessConnectionlessPacket( netpacket_t *packet )
|
||||
int authprotocol = msg.ReadLong();
|
||||
uint64 unGSSteamID = 0;
|
||||
bool bGSSecure = false;
|
||||
#if 0
|
||||
if ( authprotocol == PROTOCOL_STEAM )
|
||||
{
|
||||
if ( msg.ReadShort() != 0 )
|
||||
@@ -963,6 +964,7 @@ bool CBaseClientState::ProcessConnectionlessPacket( netpacket_t *packet )
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
SendConnectPacket( challenge, authprotocol, unGSSteamID, bGSSecure );
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user