aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index 07741801..81bae847 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -64,8 +64,6 @@ void WaitForDebugger(HMODULE baseAddress)
}
}
-SourceAllocator* g_SourceAllocator;
-
bool InitialiseNorthstar()
{
if (initialised)
@@ -75,15 +73,14 @@ bool InitialiseNorthstar()
}
initialised = true;
+ curl_global_init(CURL_GLOBAL_DEFAULT);
+
InitialiseLogging();
// apply initial hooks
InstallInitialHooks();
InitialiseInterfaceCreationHooks();
- g_SourceAllocator = new SourceAllocator;
- curl_global_init(CURL_GLOBAL_DEFAULT);
-
AddDllLoadCallback("engine.dll", WaitForDebugger);
AddDllLoadCallback("engine.dll", InitialiseEngineGameUtilFunctions);
AddDllLoadCallback("server.dll", InitialiseServerGameUtilFunctions);