diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-03-18 09:37:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 09:37:03 +0000 |
commit | 92f77b231ac324cc1326bef31251fc6b86df1f3b (patch) | |
tree | 1d5a2843af2db31305a96c194e8b21280dccd340 /NorthstarDedicatedTest/sourceconsole.cpp | |
parent | 50e69bde548c5a1af3385f0eff6aa14c088c21c5 (diff) | |
download | NorthstarLauncher-92f77b231ac324cc1326bef31251fc6b86df1f3b.tar.gz NorthstarLauncher-92f77b231ac324cc1326bef31251fc6b86df1f3b.zip |
refactor dll load callbacks to lower number of dedicated.h includes (#109)
Diffstat (limited to 'NorthstarDedicatedTest/sourceconsole.cpp')
-rw-r--r-- | NorthstarDedicatedTest/sourceconsole.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/NorthstarDedicatedTest/sourceconsole.cpp b/NorthstarDedicatedTest/sourceconsole.cpp index 2ce45baa..1e2e2f20 100644 --- a/NorthstarDedicatedTest/sourceconsole.cpp +++ b/NorthstarDedicatedTest/sourceconsole.cpp @@ -4,7 +4,6 @@ #include "sourceinterface.h" #include "concommand.h" #include "hookutils.h" -#include "dedicated.h" SourceInterface<CGameConsole>* g_SourceGameConsole; @@ -48,9 +47,6 @@ void InitialiseConsoleOnInterfaceCreation() void InitialiseSourceConsole(HMODULE baseAddress) { - if (IsDedicated()) - return; - g_SourceGameConsole = new SourceInterface<CGameConsole>("client.dll", "GameConsole004"); RegisterConCommand("toggleconsole", ConCommand_toggleconsole, "toggles the console", FCVAR_NONE); } |