aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/gameutils.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-26 18:54:42 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-26 18:54:42 +0100
commitda212ca9b7d2ab97f8baa531d31a91fd40d9c085 (patch)
treeee61c16c49b846156a693f0a039d79ecf8c3b6aa /NorthstarDedicatedTest/gameutils.cpp
parenta4434a4db16c347d5453354c1a15555d168ec7b9 (diff)
downloadNorthstarLauncher-da212ca9b7d2ab97f8baa531d31a91fd40d9c085.tar.gz
NorthstarLauncher-da212ca9b7d2ab97f8baa531d31a91fd40d9c085.zip
fix CEngine and HostState structs
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.cpp')
-rw-r--r--NorthstarDedicatedTest/gameutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/gameutils.cpp b/NorthstarDedicatedTest/gameutils.cpp
index 1f7870b0..e63c8786 100644
--- a/NorthstarDedicatedTest/gameutils.cpp
+++ b/NorthstarDedicatedTest/gameutils.cpp
@@ -31,7 +31,7 @@ void InitialiseEngineGameUtilFunctions(HMODULE baseAddress)
Cbuf_Execute = (Cbuf_ExecuteType)((char*)baseAddress + 0x1204B0);
g_pHostState = (CHostState*)((char*)baseAddress + 0x7CF180);
- g_pEngine = (CEngine*)((char*)baseAddress + 0x7D70C8);
+ g_pEngine = *(CEngine**)((char*)baseAddress + 0x7D70C8);
Cvar_hostport = (ConVar*)((char*)baseAddress + 0x13FA6070);