From e226b4721238c84600fe25dc4dd46cec16d1fa5d Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 12 Sep 2010 12:43:03 +0200 Subject: close the emote selector, chat history and the scoreboard when closing the chat, console or ingame menu. Closes #111 --- src/game/client/gameclient.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/game/client/gameclient.cpp') diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index b67e5628..1c0633b9 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -471,6 +471,13 @@ void CGameClient::OnRender() } } +void CGameClient::OnRelease() +{ + // release all systems + for(int i = 0; i < m_All.m_Num; i++) + m_All.m_paComponents[i]->OnRelease(); +} + void CGameClient::OnMessage(int MsgId, CUnpacker *pUnpacker) { -- cgit 1.4.1