Allow hltv to connect to secure auth servers

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@577 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2006-08-23 23:14:34 +00:00
parent 8fc75ea474
commit 2a4c5d4f73
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ BOOL AvHGamerules::GetIsClientAuthorizedToPlay(edict_t* inEntity, bool inDisplay
}
}
// Local players or bots are always allowed
else if((theAuthID == kSteamIDLocal) || (theAuthID == kSteamIDBot))
else if((theAuthID == kSteamIDLocal) || (theAuthID == kSteamIDBot) || strncmp(theAuthID.c_str(), "HLTV", 4) == 0 )
{
theIsAuthorized = true;
}