aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/server/serverpresence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/server/serverpresence.cpp')
-rw-r--r--NorthstarDLL/server/serverpresence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/server/serverpresence.cpp b/NorthstarDLL/server/serverpresence.cpp
index 945f5810..ed9185c1 100644
--- a/NorthstarDLL/server/serverpresence.cpp
+++ b/NorthstarDLL/server/serverpresence.cpp
@@ -224,5 +224,5 @@ void ServerPresenceManager::SetPlayerCount(const int iPlayerCount)
ON_DLL_LOAD_RELIESON("engine.dll", ServerPresence, ConVar, (CModule module))
{
g_pServerPresence->CreateConVars();
- Cvar_hostname = module.Offset(0x1315BAE8).Deref().As<ConVar*>();
+ Cvar_hostname = module.Offset(0x1315BAE8).Deref().RCast<ConVar*>();
}