diff options
| author | oy <Tom_Adams@web.de> | 2010-10-31 19:15:20 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-10-31 19:15:20 +0100 |
| commit | 6c51e864ee0f83106aadfa7361ac24f2229ca648 (patch) | |
| tree | 4a341ac682f5e0c7fccd3277b9ae9d2cf416ab13 /src/game/client/components/emoticon.cpp | |
| parent | 039de7e1ac88219832546219cd6d1e5735183a2e (diff) | |
| download | zcatch-6c51e864ee0f83106aadfa7361ac24f2229ca648.tar.gz zcatch-6c51e864ee0f83106aadfa7361ac24f2229ca648.zip | |
deactivated emote selector in spectator mode. Closes #250
Diffstat (limited to 'src/game/client/components/emoticon.cpp')
| -rw-r--r-- | src/game/client/components/emoticon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |