]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix an incorrect negation
authorMikko Rasa <tdb@tdb.fi>
Thu, 17 May 2018 14:36:39 +0000 (17:36 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 17 May 2018 14:36:39 +0000 (17:36 +0300)
source/animationplayer.cpp

index a2df4b622d6eba313fd9b71e615e128becb78f14..7c693ad2c3eef32ce7ec2a8aa74f4e754d130258 100644 (file)
@@ -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();
 }