aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/sourceinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/sourceinterface.cpp')
-rw-r--r--NorthstarDedicatedTest/sourceinterface.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/sourceinterface.cpp b/NorthstarDedicatedTest/sourceinterface.cpp
index cedfad3c..bdcc4a3c 100644
--- a/NorthstarDedicatedTest/sourceinterface.cpp
+++ b/NorthstarDedicatedTest/sourceinterface.cpp
@@ -15,7 +15,7 @@ void* ClientCreateInterfaceHook(const char* pName, int* pReturnCode)
{
void* ret = clientCreateInterfaceOriginal(pName, pReturnCode);
- std::cout << "CreateInterface CLIENT " << pName << std::endl;
+ spdlog::info("CreateInterface CLIENT {}", pName);
if (!strcmp(pName, "GameClientExports001"))
InitialiseConsoleOnInterfaceCreation();
@@ -63,6 +63,8 @@ void HookEngineCreateInterface(HMODULE baseAddress)
void InitialiseInterfaceCreationHooks()
{
AddDllLoadCallback("client.dll", HookClientCreateInterface);
- AddDllLoadCallback("server.dll", HookServerCreateInterface);
- AddDllLoadCallback("engine.dll", HookEngineCreateInterface);
+
+ // not used atm
+ //AddDllLoadCallback("server.dll", HookServerCreateInterface);
+ //AddDllLoadCallback("engine.dll", HookEngineCreateInterface);
} \ No newline at end of file