From 7a2f17c9d13371e1beb62014f2ec0169124c9862 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Mon, 9 May 2022 18:28:27 +0100 Subject: move tier0 and playlist funcs to namespaces --- NorthstarDedicatedTest/ExploitFixes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'NorthstarDedicatedTest/ExploitFixes.cpp') 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 -_- -- cgit v1.2.3