aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/shared/exploit_fixes/ns_limits.cpp')
-rw-r--r--NorthstarDLL/shared/exploit_fixes/ns_limits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp b/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp
index e69ef41c..c9085cb0 100644
--- a/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp
+++ b/NorthstarDLL/shared/exploit_fixes/ns_limits.cpp
@@ -289,7 +289,7 @@ ON_DLL_LOAD_RELIESON("engine.dll", ServerLimits, ConVar, (CModule module))
FCVAR_GAMEDLL,
"Increase usercmd processing budget by tickinterval * value per tick");
- CEngineServer__GetTimescale = module.Offset(0x240840).As<float (*)()>();
+ CEngineServer__GetTimescale = module.Offset(0x240840).RCast<float (*)()>();
}
ON_DLL_LOAD("server.dll", ServerLimitsServer, (CModule module))