MCPcopy Create free account
hub / github.com/ddnet/ddnet / ResetMultiView

Method ResetMultiView

src/game/client/gameclient.cpp:5125–5134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5123}
5124
5125void CGameClient::ResetMultiView()
5126{
5127 m_Camera.SetZoom(CCamera::ZoomStepsToValue(g_Config.m_ClDefaultZoom - 10), g_Config.m_ClSmoothZoomTime, true);
5128 m_MultiViewPersonalZoom = 0.0f;
5129 m_MultiViewActivated = false;
5130 m_MultiView.m_Solo = false;
5131 m_MultiView.m_IsInit = false;
5132 m_MultiView.m_Teleported = false;
5133 m_MultiView.m_OldCameraDistance = 0.0f;
5134}
5135
5136void CGameClient::CleanMultiViewIds()
5137{

Callers 1

OnRenderMethod · 0.80

Calls 1

SetZoomMethod · 0.80

Tested by 1

OnRenderMethod · 0.64