diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 2073638d4..72f25b3a2 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -85,7 +85,6 @@ void CGameContext::Construct(int Resetting) m_pVoteOptionHeap = new CHeap(); } - m_ChatResponseTargetID = -1; m_aDeleteTempfile[0] = 0; m_TeeHistorianActive = false; } @@ -1844,9 +1843,7 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID) pPlayer->m_LastCommands[pPlayer->m_LastCommandPos] = Now; pPlayer->m_LastCommandPos = (pPlayer->m_LastCommandPos + 1) % 4; - m_ChatResponseTargetID = ClientID; Console()->SetFlagMask(CFGFLAG_CHAT); - int Authed = Server()->GetAuthedState(ClientID); if(Authed) Console()->SetAccessLevel(Authed == AUTHED_ADMIN ? IConsole::ACCESS_LEVEL_ADMIN : Authed == AUTHED_MOD ? IConsole::ACCESS_LEVEL_MOD : IConsole::ACCESS_LEVEL_HELPER); @@ -1866,7 +1863,6 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID) Console()->SetAccessLevel(IConsole::ACCESS_LEVEL_ADMIN); Console()->SetFlagMask(CFGFLAG_SERVER); - m_ChatResponseTargetID = -1; } } else diff --git a/src/game/server/gamecontext.h b/src/game/server/gamecontext.h index 675861c2e..b975c93b4 100644 --- a/src/game/server/gamecontext.h +++ b/src/game/server/gamecontext.h @@ -462,9 +462,6 @@ public: virtual float PlayerJetpack(); void ResetTuning(); - - int m_ChatResponseTargetID; - int m_ChatPrintCBIndex; }; inline int64_t CmaskAll() { return -1LL; }