aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/chatcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/chatcommand.cpp')
-rw-r--r--NorthstarDedicatedTest/chatcommand.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/NorthstarDedicatedTest/chatcommand.cpp b/NorthstarDedicatedTest/chatcommand.cpp
index ac41014a..2aa51737 100644
--- a/NorthstarDedicatedTest/chatcommand.cpp
+++ b/NorthstarDedicatedTest/chatcommand.cpp
@@ -2,7 +2,6 @@
#include "convar.h"
#include "concommand.h"
#include "chatcommand.h"
-#include "dedicated.h"
#include "localchatwriter.h"
// note: isIngameChat is an int64 because the whole register the arg is stored in needs to be 0'd out to work
@@ -32,9 +31,6 @@ void ConCommand_log(const CCommand& args)
void InitialiseChatCommands(HMODULE baseAddress)
{
- if (IsDedicated())
- return;
-
ClientSayText = (ClientSayTextType)((char*)baseAddress + 0x54780);
RegisterConCommand("say", ConCommand_say, "Enters a message in public chat", FCVAR_CLIENTDLL);
RegisterConCommand("say_team", ConCommand_say_team, "Enters a message in team chat", FCVAR_CLIENTDLL);