aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/logging/loghooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/logging/loghooks.cpp')
-rw-r--r--NorthstarDLL/logging/loghooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/logging/loghooks.cpp b/NorthstarDLL/logging/loghooks.cpp
index 805a5125..53a85c1b 100644
--- a/NorthstarDLL/logging/loghooks.cpp
+++ b/NorthstarDLL/logging/loghooks.cpp
@@ -257,5 +257,5 @@ ON_DLL_LOAD_CLIENT_RELIESON("client.dll", ClientPrintHooks, ConVar, (CModule mod
AUTOHOOK_DISPATCH_MODULE(client.dll)
Cvar_cl_showtextmsg = new ConVar("cl_showtextmsg", "1", FCVAR_NONE, "Enable/disable text messages printing on the screen.");
- pInternalCenterPrint = module.Offset(0x216E940).As<ICenterPrint*>();
+ pInternalCenterPrint = module.Offset(0x216E940).RCast<ICenterPrint*>();
}