From f2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Fri, 2 Sep 2022 00:38:07 +0200 Subject: Refactor cleanup (some formatting fixes) (#257) * Fix some formatting * More formatting fixes --- NorthstarDLL/misccommands.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'NorthstarDLL/misccommands.cpp') diff --git a/NorthstarDLL/misccommands.cpp b/NorthstarDLL/misccommands.cpp index c61f13ec..e745752f 100644 --- a/NorthstarDLL/misccommands.cpp +++ b/NorthstarDLL/misccommands.cpp @@ -9,7 +9,7 @@ #include "serverauthentication.h" #include "squirrel.h" -void ConCommand_force_newgame(const CCommand& arg) +void ConCommand_force_newgame(const CCommand& arg) { if (arg.ArgC() < 2) return; @@ -18,14 +18,14 @@ void ConCommand_force_newgame(const CCommand& arg) strncpy(R2::g_pHostState->m_levelName, arg.Arg(1), sizeof(R2::g_pHostState->m_levelName)); } -void ConCommand_ns_start_reauth_and_leave_to_lobby(const CCommand& arg) +void ConCommand_ns_start_reauth_and_leave_to_lobby(const CCommand& arg) { // hack for special case where we're on a local server, so we erase our own newly created auth data on disconnect g_pMasterServerManager->m_bNewgameAfterSelfAuth = true; g_pMasterServerManager->AuthenticateWithOwnServer(R2::g_pLocalPlayerUserID, g_pMasterServerManager->m_sOwnClientAuthToken); } -void ConCommand_ns_end_reauth_and_leave_to_lobby(const CCommand& arg) +void ConCommand_ns_end_reauth_and_leave_to_lobby(const CCommand& arg) { R2::Cbuf_AddText( R2::Cbuf_GetCurrentPlayer(), -- cgit v1.2.3