aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/hoststate.cpp
diff options
context:
space:
mode:
authorMaya <malte.hoermeyer@web.de>2022-10-28 02:17:54 +0200
committerGitHub <noreply@github.com>2022-10-28 02:17:54 +0200
commit9df904da17dcf3f419ac9a2b5a9a4c5a4d303454 (patch)
tree43eccff74f7a0dc385fc7244d6da8c3510012331 /NorthstarDLL/hoststate.cpp
parent4c99e6f02d7063ccc2e6c09531abd48c5bf9c91e (diff)
downloadNorthstarLauncher-9df904da17dcf3f419ac9a2b5a9a4c5a4d303454.tar.gz
NorthstarLauncher-9df904da17dcf3f419ac9a2b5a9a4c5a4d303454.zip
Improve authentication flow (#306)v1.10.2-rc1v1.10.2
* Check Name for Invalid Chars Co-authored-by: Emma-Miler <27428383+emma-miler@users.noreply.github.com> * Remove `m_bRequireClientAuth ` and add logging * Format changes * Remove debugging code * Add return values for CBaseClient_Connect * Update serverauthentication.cpp * Format changes * Fix singleplayer * Add comment about singleplayer * Format * Update serverauthentication.cpp * Update serverauthentication.cpp * Update serverauthentication.cpp Co-authored-by: RoyalBlue1 <realEmail@veryRealURL.com> Co-authored-by: Emma-Miler <27428383+emma-miler@users.noreply.github.com>
Diffstat (limited to 'NorthstarDLL/hoststate.cpp')
-rw-r--r--NorthstarDLL/hoststate.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/NorthstarDLL/hoststate.cpp b/NorthstarDLL/hoststate.cpp
index adbcde3b..c36af20c 100644
--- a/NorthstarDLL/hoststate.cpp
+++ b/NorthstarDLL/hoststate.cpp
@@ -42,9 +42,6 @@ void, __fastcall, (CHostState* self))
if (g_pServerAuthentication->m_bNeedLocalAuthForNewgame)
SetCurrentPlaylist("tdm");
- // don't require authentication on singleplayer startup
- g_pServerAuthentication->m_bRequireClientAuth = strncmp(g_pHostState->m_levelName, "sp_", 3);
-
ServerStartingOrChangingMap();
double dStartTime = Tier0::Plat_FloatTime();