From 2a4c5d4f736e7d727b882b0d1312272248dd849b Mon Sep 17 00:00:00 2001 From: puzl Date: Wed, 23 Aug 2006 23:14:34 +0000 Subject: [PATCH] Allow hltv to connect to secure auth servers git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@577 67975925-1194-0748-b3d5-c16f83f1a3a1 --- releases/3.2.0/source/mod/AvHGamerules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/3.2.0/source/mod/AvHGamerules.cpp b/releases/3.2.0/source/mod/AvHGamerules.cpp index 78fa7ee..b72b08c 100644 --- a/releases/3.2.0/source/mod/AvHGamerules.cpp +++ b/releases/3.2.0/source/mod/AvHGamerules.cpp @@ -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; }