diff options
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r-- | src/animatedsprite.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp index 930d7d61e..e1ca0a27d 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -226,8 +226,7 @@ bool AnimatedSprite::updateCurrentAnimation(const unsigned int time) if (frame->type == Frame::LABEL && mFrame->nextAction == frame->nextAction) { -// mFrameTime = 0; - mFrameIndex = i; + mFrameIndex = static_cast<unsigned int>(i); if (mFrameIndex >= mAnimation->getLength()) mFrameIndex = 0; |