From 6299f6518aa8576fa06f62101aa466c3da528fb1 Mon Sep 17 00:00:00 2001 From: oy Date: Tue, 7 Sep 2010 20:01:51 +0200 Subject: disable emote selector and chat window in the demo player. Closes #126 --- src/game/client/components/chat.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/client/components/chat.cpp') diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index 167fe181..d082bf78 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -100,6 +100,9 @@ bool CChat::OnInput(IInput::CEvent e) void CChat::EnableMode(int Team) { + if(Client()->State() == IClient::STATE_DEMOPLAYBACK) + return; + if(m_Mode == MODE_NONE) { if(Team) -- cgit 1.4.1