diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-09 20:01:35 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-09 20:01:35 +0100 |
commit | 180470cf75f40bed9c24b22d0afd68871d40c9f3 (patch) | |
tree | e649a65d7310240d704c224dca037c15f60e255b /NorthstarDedicatedTest/serverauthentication.cpp | |
parent | 1885caebdaf971bf68073884754325aa8d1c0da7 (diff) | |
download | NorthstarLauncher-180470cf75f40bed9c24b22d0afd68871d40c9f3.tar.gz NorthstarLauncher-180470cf75f40bed9c24b22d0afd68871d40c9f3.zip |
standardise concommand func naming in c++
Diffstat (limited to 'NorthstarDedicatedTest/serverauthentication.cpp')
-rw-r--r-- | NorthstarDedicatedTest/serverauthentication.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/serverauthentication.cpp b/NorthstarDedicatedTest/serverauthentication.cpp index 5f9f10e8..d7e67af8 100644 --- a/NorthstarDedicatedTest/serverauthentication.cpp +++ b/NorthstarDedicatedTest/serverauthentication.cpp @@ -600,7 +600,7 @@ bool ProcessConnectionlessPacketHook(void* a1, netpacket_t* packet) return ProcessConnectionlessPacket(a1, packet); } -void ResetPdataCommand(const CCommand& args) +void ConCommand_ns_resetpersistence(const CCommand& args) { if (*sv_m_State == server_state_t::ss_active) { @@ -645,7 +645,8 @@ ON_DLL_LOAD_RELIESON("engine.dll", ServerAuthentication, ConCommand, (HMODULE ba Cvar_net_datablock_enabled = g_pCVar->FindVar("net_datablock_enabled"); - RegisterConCommand("ns_resetpersistence", ResetPdataCommand, "resets your pdata when you next enter the lobby", FCVAR_NONE); + RegisterConCommand( + "ns_resetpersistence", ConCommand_ns_resetpersistence, "resets your pdata when you next enter the lobby", FCVAR_NONE); HookEnabler hook; ENABLER_CREATEHOOK( |