diff --git a/drape_frontend/animation_system.cpp b/drape_frontend/animation_system.cpp index 46d3b00dd6..49fd982f19 100644 --- a/drape_frontend/animation_system.cpp +++ b/drape_frontend/animation_system.cpp @@ -1020,7 +1020,6 @@ void AnimationSystem::CombineAnimation(drape_ptr animation) return; } } - PushAnimation(move(animation)); } diff --git a/drape_frontend/animation_system.hpp b/drape_frontend/animation_system.hpp index 32c9306258..00796f3f2e 100644 --- a/drape_frontend/animation_system.hpp +++ b/drape_frontend/animation_system.hpp @@ -136,7 +136,7 @@ public: bool CouldBeInterrupted() const { return m_couldBeInterrupted; } bool CouldBeBlendedWith(Animation const & animation) const; - + void SetInterruptedOnCombine(bool enable) { m_interruptedOnCombine = enable; } bool GetInterruptedOnCombine() const { return m_interruptedOnCombine; } diff --git a/drape_frontend/kinetic_scroller.cpp b/drape_frontend/kinetic_scroller.cpp index f54f82510d..9a0edd14ff 100644 --- a/drape_frontend/kinetic_scroller.cpp +++ b/drape_frontend/kinetic_scroller.cpp @@ -38,7 +38,6 @@ public: , m_elapsedTime(0.0) { SetInterruptedOnCombine(true); - m_objects.insert(Animation::MapPlane); m_properties.insert(Animation::Position); }