aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/client/clientauthhooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/client/clientauthhooks.cpp')
-rw-r--r--NorthstarDLL/client/clientauthhooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/client/clientauthhooks.cpp b/NorthstarDLL/client/clientauthhooks.cpp
index 7fca9581..e66da6c8 100644
--- a/NorthstarDLL/client/clientauthhooks.cpp
+++ b/NorthstarDLL/client/clientauthhooks.cpp
@@ -52,7 +52,7 @@ ON_DLL_LOAD_CLIENT_RELIESON("engine.dll", ClientAuthHooks, ConVar, (CModule modu
{
AUTOHOOK_DISPATCH()
- p3PToken = module.Offset(0x13979D80).As<char*>();
+ p3PToken = module.Offset(0x13979D80).RCast<char*>();
// this cvar will save to cfg once initially agreed with
Cvar_ns_has_agreed_to_send_token = new ConVar(