aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/maxplayers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/maxplayers.cpp')
-rw-r--r--NorthstarDedicatedTest/maxplayers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/maxplayers.cpp b/NorthstarDedicatedTest/maxplayers.cpp
index b2219faf..15846ea8 100644
--- a/NorthstarDedicatedTest/maxplayers.cpp
+++ b/NorthstarDedicatedTest/maxplayers.cpp
@@ -2,6 +2,7 @@
#include "hooks.h"
#include "maxplayers.h"
#include "gameutils.h"
+#include "tier0.h"
// never set this to anything below 32
#define NEW_MAX_PLAYERS 64
@@ -106,7 +107,7 @@ void* StringTables_CreateStringTable_Hook(
bool MaxPlayersIncreaseEnabled()
{
- return CommandLine() && CommandLine()->CheckParm("-experimentalmaxplayersincrease");
+ return Tier0::CommandLine() && Tier0::CommandLine()->CheckParm("-experimentalmaxplayersincrease");
}
ON_DLL_LOAD("engine.dll", MaxPlayersOverride_Engine, (HMODULE baseAddress)