aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/core/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/core/filesystem')
-rw-r--r--NorthstarDLL/core/filesystem/rpakfilesystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/core/filesystem/rpakfilesystem.cpp b/NorthstarDLL/core/filesystem/rpakfilesystem.cpp
index e42d6826..8d50b07a 100644
--- a/NorthstarDLL/core/filesystem/rpakfilesystem.cpp
+++ b/NorthstarDLL/core/filesystem/rpakfilesystem.cpp
@@ -338,8 +338,8 @@ ON_DLL_LOAD("engine.dll", RpakFilesystem, (CModule module))
g_pPakLoadManager = new PakLoadManager;
- g_pakLoadApi = module.Offset(0x5BED78).Deref().As<PakLoadFuncs*>();
- pUnknownPakLoadSingleton = module.Offset(0x7C5E20).As<void**>();
+ g_pakLoadApi = module.Offset(0x5BED78).Deref().RCast<PakLoadFuncs*>();
+ pUnknownPakLoadSingleton = module.Offset(0x7C5E20).RCast<void**>();
LoadPakAsyncHook.Dispatch((LPVOID*)g_pakLoadApi->LoadPakAsync);
UnloadPakHook.Dispatch((LPVOID*)g_pakLoadApi->UnloadPak);