From: Mikko Rasa Date: Thu, 17 May 2018 14:36:39 +0000 (+0300) Subject: Fix an incorrect negation X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=bf1f59c4dca6b651e39c126c63a0780b65a34927 Fix an incorrect negation --- 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(); }