From 6c51e864ee0f83106aadfa7361ac24f2229ca648 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 31 Oct 2010 19:15:20 +0100 Subject: deactivated emote selector in spectator mode. Closes #250 --- src/game/client/components/emoticon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/components/emoticon.cpp') diff --git a/src/game/client/components/emoticon.cpp b/src/game/client/components/emoticon.cpp index de822b4f..0f59001d 100644 --- a/src/game/client/components/emoticon.cpp +++ b/src/game/client/components/emoticon.cpp @@ -17,7 +17,7 @@ CEmoticon::CEmoticon() void CEmoticon::ConKeyEmoticon(IConsole::IResult *pResult, void *pUserData) { CEmoticon *pSelf = (CEmoticon *)pUserData; - if(pSelf->Client()->State() != IClient::STATE_DEMOPLAYBACK) + if(!pSelf->m_pClient->m_Snap.m_Spectate && pSelf->Client()->State() != IClient::STATE_DEMOPLAYBACK) ((CEmoticon *)pUserData)->m_Active = pResult->GetInteger(0) != 0; } -- cgit 1.4.1