about summary refs log tree commit diff
path: root/src/game/client/components/emoticon.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-09-12 12:43:03 +0200
committeroy <Tom_Adams@web.de>2010-09-12 12:43:03 +0200
commite226b4721238c84600fe25dc4dd46cec16d1fa5d (patch)
treeee577e0a9535d38dc434af5848ef28ef58d88b8d /src/game/client/components/emoticon.cpp
parentd913af1ab2d383832a49ed6a4460523f80b8337d (diff)
downloadzcatch-e226b4721238c84600fe25dc4dd46cec16d1fa5d.tar.gz
zcatch-e226b4721238c84600fe25dc4dd46cec16d1fa5d.zip
close the emote selector, chat history and the scoreboard when closing the chat, console or ingame menu. Closes #111
Diffstat (limited to 'src/game/client/components/emoticon.cpp')
-rw-r--r--src/game/client/components/emoticon.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/client/components/emoticon.cpp b/src/game/client/components/emoticon.cpp
index cb54dbcd..9139c2c1 100644
--- a/src/game/client/components/emoticon.cpp
+++ b/src/game/client/components/emoticon.cpp
@@ -39,6 +39,11 @@ void CEmoticon::OnReset()
 	m_SelectedEmote = -1;
 }
 
+void CEmoticon::OnRelease()
+{
+	m_Active = false;
+}
+
 void CEmoticon::OnMessage(int MsgType, void *pRawMsg)
 {
 }