diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-26 01:24:13 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-26 01:24:13 +0100 |
commit | e98fc31a93dfc9a14db7bb5510d25df0226d6fd3 (patch) | |
tree | 0a14184023e46394ee7bc83846c4466f7e3f14c9 /NorthstarDedicatedTest/dllmain.cpp | |
parent | f083706eb05a22ec166d8e29b565f93785ad3cb0 (diff) | |
download | NorthstarLauncher-e98fc31a93dfc9a14db7bb5510d25df0226d6fd3.tar.gz NorthstarLauncher-e98fc31a93dfc9a14db7bb5510d25df0226d6fd3.zip |
add CommandLine() and Cbuf_Execute
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dllmain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp index 0a5eb388..3efe38c0 100644 --- a/NorthstarDedicatedTest/dllmain.cpp +++ b/NorthstarDedicatedTest/dllmain.cpp @@ -54,7 +54,7 @@ void InitialiseNorthstar() AddDllLoadCallback("engine.dll", InitialiseEngineGameUtilFunctions); - if (IsDedicated()) + // dedi patches { AddDllLoadCallback("engine.dll", InitialiseDedicated); AddDllLoadCallback("materialsystem_dx11.dll", InitialiseDedicatedMaterialSystem); @@ -63,7 +63,7 @@ void InitialiseNorthstar() AddDllLoadCallback("engine.dll", InitialiseConVars); AddDllLoadCallback("engine.dll", InitialiseConCommands); - if (!IsDedicated()) + // client-exclusive patches { AddDllLoadCallback("engine.dll", InitialiseClientEngineSecurityPatches); AddDllLoadCallback("client.dll", InitialiseClientSquirrel); |