diff options
| author | oy <Tom_Adams@web.de> | 2010-09-12 12:43:03 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-09-12 12:43:03 +0200 |
| commit | e226b4721238c84600fe25dc4dd46cec16d1fa5d (patch) | |
| tree | ee577e0a9535d38dc434af5848ef28ef58d88b8d /src/game/client/gameclient.cpp | |
| parent | d913af1ab2d383832a49ed6a4460523f80b8337d (diff) | |
| download | zcatch-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.cpp | 7 |
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) { |