aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/client/r2client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/client/r2client.cpp')
-rw-r--r--NorthstarDLL/client/r2client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDLL/client/r2client.cpp b/NorthstarDLL/client/r2client.cpp
index fabc0dc6..fea97d8e 100644
--- a/NorthstarDLL/client/r2client.cpp
+++ b/NorthstarDLL/client/r2client.cpp
@@ -12,8 +12,8 @@ namespace R2
ON_DLL_LOAD("engine.dll", R2EngineClient, (CModule module))
{
- g_pLocalPlayerUserID = module.Offset(0x13F8E688).As<char*>();
- g_pLocalPlayerOriginToken = module.Offset(0x13979C80).As<char*>();
+ g_pLocalPlayerUserID = module.Offset(0x13F8E688).RCast<char*>();
+ g_pLocalPlayerOriginToken = module.Offset(0x13979C80).RCast<char*>();
- GetBaseLocalClient = module.Offset(0x78200).As<GetBaseLocalClientType>();
+ GetBaseLocalClient = module.Offset(0x78200).RCast<GetBaseLocalClientType>();
}