diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-12 15:25:08 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-12 15:25:08 +0100 |
commit | a526ad915694ce9881b7ff093cdab9587d088217 (patch) | |
tree | 4deacbfeedd0a8d937ab4747c2e2629e994ce7ec /NorthstarDedicatedTest/host.cpp | |
parent | 6768e46b200c63d758bd6e92bd500f3c754c3245 (diff) | |
download | NorthstarLauncher-a526ad915694ce9881b7ff093cdab9587d088217.tar.gz NorthstarLauncher-a526ad915694ce9881b7ff093cdab9587d088217.zip |
separate gameutils into multiple r2 headers
Diffstat (limited to 'NorthstarDedicatedTest/host.cpp')
-rw-r--r-- | NorthstarDedicatedTest/host.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/host.cpp b/NorthstarDedicatedTest/host.cpp index 624809b5..a67e0ede 100644 --- a/NorthstarDedicatedTest/host.cpp +++ b/NorthstarDedicatedTest/host.cpp @@ -2,9 +2,9 @@ #include "host.h" #include "convar.h" #include "modmanager.h" -#include "gameutils.h" #include "commandprint.h" #include "mapsprint.h" +#include "r2engine.h" typedef void (*Host_InitType)(bool bDedicated); Host_InitType Host_Init; @@ -54,7 +54,7 @@ void Host_InitHook(bool bDedicated) // run client autoexec if on client if (!bDedicated) - Cbuf_AddText(Cbuf_GetCurrentPlayer(), "exec autoexec_ns_client", cmd_source_t::kCommandSrcCode); + R2::Cbuf_AddText(R2::Cbuf_GetCurrentPlayer(), "exec autoexec_ns_client", R2::cmd_source_t::kCommandSrcCode); } ON_DLL_LOAD("engine.dll", Host_Init, [](HMODULE baseAddress) |