diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-03-18 09:37:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 09:37:03 +0000 |
commit | 92f77b231ac324cc1326bef31251fc6b86df1f3b (patch) | |
tree | 1d5a2843af2db31305a96c194e8b21280dccd340 /NorthstarDedicatedTest/chatcommand.cpp | |
parent | 50e69bde548c5a1af3385f0eff6aa14c088c21c5 (diff) | |
download | NorthstarLauncher-92f77b231ac324cc1326bef31251fc6b86df1f3b.tar.gz NorthstarLauncher-92f77b231ac324cc1326bef31251fc6b86df1f3b.zip |
refactor dll load callbacks to lower number of dedicated.h includes (#109)
Diffstat (limited to 'NorthstarDedicatedTest/chatcommand.cpp')
-rw-r--r-- | NorthstarDedicatedTest/chatcommand.cpp | 4 |
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); |