From bf1f59c4dca6b651e39c126c63a0780b65a34927 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 17 May 2018 17:36:39 +0300 Subject: [PATCH] Fix an incorrect negation --- source/animationplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/animationplayer.cpp b/source/animationplayer.cpp index a2df4b62..7c693ad2 100644 --- a/source/animationplayer.cpp +++ b/source/animationplayer.cpp @@ -130,7 +130,7 @@ void AnimationPlayer::tick_single(Target &target, const Time::TimeDelta &dt) anim.iterator.dispatch_events(target); - if(!anim.iterator.is_end()) + if(anim.iterator.is_end()) target.animations.clear(); } -- 2.45.2