diff options
| author | oy <Tom_Adams@web.de> | 2011-01-17 12:28:37 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-01-17 12:28:37 +0100 |
| commit | 216967c3bf72ccff9d069327a5531e50f8f88b5a (patch) | |
| tree | edda4389c670ddbb9e37885a948f5231babbf496 /src/game/client/gameclient.cpp | |
| parent | 5483eb66294aabea76624659886a7c39a0758e66 (diff) | |
| download | zcatch-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.cpp | 5 |
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; |