diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-09 18:28:27 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-09 18:28:27 +0100 |
commit | 7a2f17c9d13371e1beb62014f2ec0169124c9862 (patch) | |
tree | 3f12d8c25392fb461f0a3b03dc9cd510631c7400 /NorthstarDedicatedTest/ExploitFixes.cpp | |
parent | 5a58dd1c05e943d6b440bea5b4a6ae80ce16841e (diff) | |
download | NorthstarLauncher-7a2f17c9d13371e1beb62014f2ec0169124c9862.tar.gz NorthstarLauncher-7a2f17c9d13371e1beb62014f2ec0169124c9862.zip |
move tier0 and playlist funcs to namespaces
Diffstat (limited to 'NorthstarDedicatedTest/ExploitFixes.cpp')
-rw-r--r-- | NorthstarDedicatedTest/ExploitFixes.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/ExploitFixes.cpp b/NorthstarDedicatedTest/ExploitFixes.cpp index 257ec428..cc42ab73 100644 --- a/NorthstarDedicatedTest/ExploitFixes.cpp +++ b/NorthstarDedicatedTest/ExploitFixes.cpp @@ -5,6 +5,7 @@ #include "hooks.h" #include "NSMem.h" #include "cvar.h" +#include "tier0.h" ConVar* ns_exploitfixes_log; #define SHOULD_LOG (ns_exploitfixes_log->m_Value.m_nValue > 0) @@ -324,7 +325,7 @@ INVALID_CMD: #include "gameutils.h" KHOOK(IsValveMod, ("engine.dll", "48 83 EC 28 48 8B 0D ? ? ? ? 48 8D 15 ? ? ? ? E8 ? ? ? ? 85 C0 74 63"), bool, __fastcall, ()) { - return !CommandLine()->CheckParm("-norestrictservercommands"); + return !Tier0::CommandLine()->CheckParm("-norestrictservercommands"); } // Fix respawn's crappy UTF8 parser so it doesn't crash -_- |