diff --git a/src/game/client/components/menu_background.cpp b/src/game/client/components/menu_background.cpp index b154967d5..4b6b2e4f6 100644 --- a/src/game/client/components/menu_background.cpp +++ b/src/game/client/components/menu_background.cpp @@ -339,12 +339,19 @@ bool CMenuBackground::Render() XVal = pow(XVal, 7.0f); m_Camera.m_Center = TargetPos + Dir * (XVal * Distance); + if(m_CurrentPosition < 0) + { + m_AnimationStartPos = m_Camera.m_Center; + m_MoveTime = 0.0f; + } m_ChangedPosition = false; } CMapLayers::OnRender(); + m_CurrentPosition = -1; + return true; }