From 216967c3bf72ccff9d069327a5531e50f8f88b5a Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 17 Jan 2011 12:28:37 +0100 Subject: release gameclient components when opening the editor. Closes #429 --- src/game/client/gameclient.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/client/gameclient.cpp') 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; -- cgit 1.4.1