about summary refs log tree commit diff
path: root/src/game/client/gameclient.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/gameclient.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/gameclient.cpp')
-rw-r--r--src/game/client/gameclient.cpp7
1 files changed, 7 insertions, 0 deletions
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)
 {