From ef7e7319305f040a47c483b71f2e78da7a1d6149 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:54:08 +0300 Subject: Fix code style in other files. --- src/animatedsprite.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/animatedsprite.cpp') 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(i); if (mFrameIndex >= mAnimation->getLength()) mFrameIndex = 0; -- cgit v1.2.3-60-g2f50