diff options
Diffstat (limited to 'NorthstarDLL/r2server.cpp')
-rw-r--r-- | NorthstarDLL/r2server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NorthstarDLL/r2server.cpp b/NorthstarDLL/r2server.cpp index 6a13ea9b..7a6ebe90 100644 --- a/NorthstarDLL/r2server.cpp +++ b/NorthstarDLL/r2server.cpp @@ -10,12 +10,12 @@ namespace R2 Server_GetEntityByIndexType Server_GetEntityByIndex;
} // namespace R2
-ON_DLL_LOAD("engine.dll", R2EngineServer, [](HMODULE baseAddress)
+ON_DLL_LOAD("engine.dll", R2EngineServer, (HMODULE baseAddress))
{
g_pServerState = (server_state_t*)((char*)baseAddress + 0x12A53D48);
-})
+}
-ON_DLL_LOAD("server.dll", R2GameServer, [](HMODULE baseAddress)
+ON_DLL_LOAD("server.dll", R2GameServer, (HMODULE baseAddress))
{
Server_GetEntityByIndex = (Server_GetEntityByIndexType)((char*)baseAddress + 0xFB820);
-})
\ No newline at end of file +}
\ No newline at end of file |