aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/ExploitFixes.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-11 14:11:37 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-11 14:11:37 +0100
commit862a115b08017e02b45a786e59feb436d1de278f (patch)
treed45b4920da15a12f1395b4c05cf4babec84e632e /NorthstarDedicatedTest/ExploitFixes.cpp
parent2dba51a6a281573ea40cc52c80d10155387d4720 (diff)
downloadNorthstarLauncher-862a115b08017e02b45a786e59feb436d1de278f.tar.gz
NorthstarLauncher-862a115b08017e02b45a786e59feb436d1de278f.zip
move hoststate to its own file and add host_init hooks
Diffstat (limited to 'NorthstarDedicatedTest/ExploitFixes.cpp')
-rw-r--r--NorthstarDedicatedTest/ExploitFixes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/ExploitFixes.cpp b/NorthstarDedicatedTest/ExploitFixes.cpp
index 3850b5a7..3250f3b8 100644
--- a/NorthstarDedicatedTest/ExploitFixes.cpp
+++ b/NorthstarDedicatedTest/ExploitFixes.cpp
@@ -153,7 +153,7 @@ KHOOK(CClient_ProcessSetConVar, ("engine.dll", "48 8B D1 48 8B 49 18 48 8B 01 48
if (areWeServer)
{
if (realVar)
- isValidFlags = ConVar::IsFlagSet(realVar, FCVAR_USERINFO); // ConVar MUST be userinfo var
+ isValidFlags = realVar->IsFlagSet(FCVAR_USERINFO); // ConVar MUST be userinfo var
}
else
{