aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modlocalisation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/modlocalisation.cpp')
-rw-r--r--NorthstarDedicatedTest/modlocalisation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/modlocalisation.cpp b/NorthstarDedicatedTest/modlocalisation.cpp
index 45f5a289..0fc02596 100644
--- a/NorthstarDedicatedTest/modlocalisation.cpp
+++ b/NorthstarDedicatedTest/modlocalisation.cpp
@@ -31,7 +31,7 @@ bool AddLocalisationFileHook(void* g_pVguiLocalize, const char* path, const char
return ret;
}
-ON_DLL_LOAD_CLIENT("localize.dll", Localize, (HMODULE baseAddress)
+ON_DLL_LOAD_CLIENT("localize.dll", Localize, [](HMODULE baseAddress)
{
HookEnabler hook;
ENABLER_CREATEHOOK(hook, (char*)baseAddress + 0x6D80, AddLocalisationFileHook, reinterpret_cast<LPVOID*>(&AddLocalisationFile));