From 22a1ce87fa1205aa15eff81d78dc7c0e87c251c9 Mon Sep 17 00:00:00 2001 From: Maya Date: Tue, 5 Jul 2022 01:39:59 +0200 Subject: Move #include top of file in ExploitFixes (#218) * Move Include in ExploitFixes * Formatting --- NorthstarDedicatedTest/ExploitFixes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NorthstarDedicatedTest/ExploitFixes.cpp b/NorthstarDedicatedTest/ExploitFixes.cpp index 44b62d55..0f8569b5 100644 --- a/NorthstarDedicatedTest/ExploitFixes.cpp +++ b/NorthstarDedicatedTest/ExploitFixes.cpp @@ -4,6 +4,7 @@ #include "ExploitFixes_UTF8Parser.h" #include "NSMem.h" #include "cvar.h" +#include "gameutils.h" ConVar* ns_exploitfixes_log; #define SHOULD_LOG (ns_exploitfixes_log->m_Value.m_nValue > 0) @@ -271,7 +272,6 @@ INVALID_CMD: // basically: by default r2 isn't set as a valve mod, meaning that m_bRestrictServerCommands is false // this is HORRIBLE for security, because it means servers can run arbitrary concommands on clients // especially since we have script commands this could theoretically be awful -#include "gameutils.h" typedef void (*IsValveModType)(); IsValveModType IsValveMod; -- cgit v1.2.3