about summary refs log tree commit diff
path: root/src/game/client/gameclient.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-01-17 12:28:37 +0100
committeroy <Tom_Adams@web.de>2011-01-17 12:28:37 +0100
commit216967c3bf72ccff9d069327a5531e50f8f88b5a (patch)
treeedda4389c670ddbb9e37885a948f5231babbf496 /src/game/client/gameclient.cpp
parent5483eb66294aabea76624659886a7c39a0758e66 (diff)
downloadzcatch-216967c3bf72ccff9d069327a5531e50f8f88b5a.tar.gz
zcatch-216967c3bf72ccff9d069327a5531e50f8f88b5a.zip
release gameclient components when opening the editor. Closes #429
Diffstat (limited to 'src/game/client/gameclient.cpp')
-rw-r--r--src/game/client/gameclient.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index 9a05cc88..e37eebea 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -971,6 +971,11 @@ void CGameClient::OnPredict()
 	m_PredictedTick = Client()->PredGameTick();
 }
 
+void CGameClient::OnActivateEditor()
+{
+	OnRelease();
+}
+
 void CGameClient::CClientData::UpdateRenderInfo()
 {
 	m_RenderInfo = m_SkinInfo;