aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaya <malte.hoermeyer@web.de>2022-07-05 01:39:59 +0200
committerGitHub <noreply@github.com>2022-07-05 01:39:59 +0200
commit22a1ce87fa1205aa15eff81d78dc7c0e87c251c9 (patch)
treecfdcf77684822f32921346f2ad161b9b4b1af641
parent5311105b5ca02ba769d9e01e9ff9d6cc85b82d4a (diff)
downloadNorthstarLauncher-22a1ce87fa1205aa15eff81d78dc7c0e87c251c9.tar.gz
NorthstarLauncher-22a1ce87fa1205aa15eff81d78dc7c0e87c251c9.zip
Move #include top of file in ExploitFixes (#218)
* Move Include in ExploitFixes * Formatting
-rw-r--r--NorthstarDedicatedTest/ExploitFixes.cpp2
1 files changed, 1 insertions, 1 deletions
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;