aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/gameutils.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-13 02:20:28 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-13 02:20:28 +0000
commit8ee27654d4f8c70206983164d2c4ac692ebed5de (patch)
tree4140b57589e1d25fe94addf3cfda84c72573f17e /NorthstarDedicatedTest/gameutils.cpp
parent4a16290a48e65d9cb30c7aef6c405043d7c5d182 (diff)
downloadNorthstarLauncher-8ee27654d4f8c70206983164d2c4ac692ebed5de.tar.gz
NorthstarLauncher-8ee27654d4f8c70206983164d2c4ac692ebed5de.zip
unbreak sp
Diffstat (limited to 'NorthstarDedicatedTest/gameutils.cpp')
-rw-r--r--NorthstarDedicatedTest/gameutils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/gameutils.cpp b/NorthstarDedicatedTest/gameutils.cpp
index b5a13928..f9fd4d95 100644
--- a/NorthstarDedicatedTest/gameutils.cpp
+++ b/NorthstarDedicatedTest/gameutils.cpp
@@ -22,6 +22,7 @@ server_state_t* sv_m_State;
// network stuff
ConVar* Cvar_hostport;
+ConVar* Cvar_net_datablock_enabled;
// playlist stuff
GetCurrentPlaylistType GetCurrentPlaylistName;
@@ -60,6 +61,7 @@ void InitialiseEngineGameUtilFunctions(HMODULE baseAddress)
sv_m_State = (server_state_t*)((char*)baseAddress + 0x12A53D48);
Cvar_hostport = (ConVar*)((char*)baseAddress + 0x13FA6070);
+ Cvar_net_datablock_enabled = (ConVar*)((char*)baseAddress + 0x12A4F6D0);
GetCurrentPlaylistName = (GetCurrentPlaylistType)((char*)baseAddress + 0x18C640);
SetCurrentPlaylist = (SetCurrentPlaylistType)((char*)baseAddress + 0x18EB20);