From f1b82c1b06604c2c1eed750a6c980aa0b5355560 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Oct 2013 14:48:19 +0300 Subject: First part of checks from Parasoft C++ Test. --- src/animatedsprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/animatedsprite.cpp') diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp index 8940b1060..38f1a297b 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -209,7 +209,7 @@ bool AnimatedSprite::updateCurrentAnimation(const unsigned int time) { fail = true; } - if ((mFrame->type == Frame::LABEL + else if ((mFrame->type == Frame::LABEL && !mFrame->nextAction.empty())) { fail = false; -- cgit v1.2.3-60-g2f50