aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/dedicated/dedicatedlogtoclient.cpp')
-rw-r--r--NorthstarDLL/dedicated/dedicatedlogtoclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp b/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp
index bb62cb36..8d19372f 100644
--- a/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp
+++ b/NorthstarDLL/dedicated/dedicatedlogtoclient.cpp
@@ -45,5 +45,5 @@ void DedicatedServerLogToClientSink::flush_() {}
ON_DLL_LOAD_DEDI("engine.dll", DedicatedServerLogToClient, (CModule module))
{
- CGameClient__ClientPrintf = module.Offset(0x1016A0).As<void (*)(R2::CBaseClient*, const char*, ...)>();
+ CGameClient__ClientPrintf = module.Offset(0x1016A0).RCast<void (*)(R2::CBaseClient*, const char*, ...)>();
}