aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/ExploitFixes.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-12 15:25:08 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-12 15:25:08 +0100
commita526ad915694ce9881b7ff093cdab9587d088217 (patch)
tree4deacbfeedd0a8d937ab4747c2e2629e994ce7ec /NorthstarDedicatedTest/ExploitFixes.cpp
parent6768e46b200c63d758bd6e92bd500f3c754c3245 (diff)
downloadNorthstarLauncher-a526ad915694ce9881b7ff093cdab9587d088217.tar.gz
NorthstarLauncher-a526ad915694ce9881b7ff093cdab9587d088217.zip
separate gameutils into multiple r2 headers
Diffstat (limited to 'NorthstarDedicatedTest/ExploitFixes.cpp')
-rw-r--r--NorthstarDedicatedTest/ExploitFixes.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/ExploitFixes.cpp b/NorthstarDedicatedTest/ExploitFixes.cpp
index 935e3f63..ff0af8f9 100644
--- a/NorthstarDedicatedTest/ExploitFixes.cpp
+++ b/NorthstarDedicatedTest/ExploitFixes.cpp
@@ -322,7 +322,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"
KHOOK(IsValveMod, ("engine.dll", "48 83 EC 28 48 8B 0D ? ? ? ? 48 8D 15 ? ? ? ? E8 ? ? ? ? 85 C0 74 63"), bool, __fastcall, ())
{
return !Tier0::CommandLine()->CheckParm("-norestrictservercommands");