diff options
Diffstat (limited to 'source/frontend/StarChatBubbleSeparation.hpp')
-rw-r--r-- | source/frontend/StarChatBubbleSeparation.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/frontend/StarChatBubbleSeparation.hpp b/source/frontend/StarChatBubbleSeparation.hpp index 03571cf..a79f122 100644 --- a/source/frontend/StarChatBubbleSeparation.hpp +++ b/source/frontend/StarChatBubbleSeparation.hpp @@ -169,11 +169,10 @@ void BubbleSeparator<T>::forEach(function<void(Bubble&, T&)> func) { } template <typename T> -void BubbleSeparator<T>::update(float dt) { +void BubbleSeparator<T>::update(float) { m_bubbles.exec([this](Bubble& bubble) { Vec2F delta = bubble.seperatedOffset - bubble.currentOffset; bubble.currentOffset += m_tweenFactor * delta; - bubble.currentPosition = bubble.currentDestination + bubble.currentOffset; }); } |