From bfa990e73fb0e8509a6cbbc21f7e751891a19dfe Mon Sep 17 00:00:00 2001 From: XProger Date: Fri, 20 Apr 2018 02:27:05 +0300 Subject: [PATCH] fix missed playNext call --- src/controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller.h b/src/controller.h index 14ccfe0..e7d1527 100644 --- a/src/controller.h +++ b/src/controller.h @@ -1048,7 +1048,7 @@ struct Controller { if (animation.isEnded) { // if animation is end - switch to next if (animation.offset != 0.0f) cmdOffset(animation.offset); if (animation.jump != 0.0f) cmdJump(animation.jump); - // animation.playNext(); + animation.playNext(); } else animation.framePrev = animation.frameIndex; }