aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorgeni <me@geni.site>2021-12-31 14:42:54 +0200
committergeni <me@geni.site>2021-12-31 14:42:54 +0200
commit22e7065d1d56ecdb3a0ed9e52ea86638af30d14f (patch)
treee8cc3210af2a6bb06e6e32df97db4d57f0037900 /NorthstarDedicatedTest/dllmain.cpp
parent07fbef738274518dfcc60da3a624d03eb09dc015 (diff)
downloadNorthstarLauncher-22e7065d1d56ecdb3a0ed9e52ea86638af30d14f.tar.gz
NorthstarLauncher-22e7065d1d56ecdb3a0ed9e52ea86638af30d14f.zip
Initialize curl in InitialiseNorthstar to avoid disaster
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index 691c9bc7..4f8a445c 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -83,6 +83,7 @@ bool InitialiseNorthstar()
InitialiseInterfaceCreationHooks();
g_SourceAllocator = new SourceAllocator;
+ curl_global_init(CURL_GLOBAL_DEFAULT);
AddDllLoadCallback("tier0.dll", InitialiseTier0GameUtilFunctions);
AddDllLoadCallback("engine.dll", WaitForDebugger);