summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index 6b791fdd4..136bea946 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -146,7 +146,8 @@ bool AnimatedSprite::updateCurrentAnimation(unsigned int time)
mFrameTime += time;
while ((mFrameTime > static_cast<unsigned>(mFrame->delay)
- && mFrame->delay > 0) || mFrame->type != Frame::ANIMATION)
+ && mFrame->delay > 0) || (mFrame->type != Frame::ANIMATION
+ && mFrame->type != Frame::PAUSE))
{
bool fail(true);
mFrameTime -= static_cast<unsigned>(mFrame->delay);