aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/buildainfile.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-09 20:23:16 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-09 20:23:16 +0100
commit5ce8343bcced9e92ab2b3c1b80382cffa0281629 (patch)
tree95ce2dbe8dc976cab987d76f8e964a2efc6c23fd /NorthstarDedicatedTest/buildainfile.cpp
parent180470cf75f40bed9c24b22d0afd68871d40c9f3 (diff)
downloadNorthstarLauncher-5ce8343bcced9e92ab2b3c1b80382cffa0281629.tar.gz
NorthstarLauncher-5ce8343bcced9e92ab2b3c1b80382cffa0281629.zip
use lambdas for dll load callbacks so intellisense shits itself less
Diffstat (limited to 'NorthstarDedicatedTest/buildainfile.cpp')
-rw-r--r--NorthstarDedicatedTest/buildainfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/buildainfile.cpp b/NorthstarDedicatedTest/buildainfile.cpp
index 13660dc6..e7ef6e59 100644
--- a/NorthstarDedicatedTest/buildainfile.cpp
+++ b/NorthstarDedicatedTest/buildainfile.cpp
@@ -374,7 +374,7 @@ void LoadAINFileHook(void* aimanager, void* buf, const char* filename)
}
}
-ON_DLL_LOAD("server.dll", BuildAINFile, (HMODULE baseAddress)
+ON_DLL_LOAD("server.dll", BuildAINFile, [](HMODULE baseAddress)
{
Cvar_ns_ai_dumpAINfileFromLoad = new ConVar(
"ns_ai_dumpAINfileFromLoad", "0", FCVAR_NONE, "For debugging: whether we should dump ain data for ains loaded from disk");