summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
commitef7e7319305f040a47c483b71f2e78da7a1d6149 (patch)
tree14ac10427d7c94288fcb198db5277455754589ae /src/animatedsprite.cpp
parent12389c8441c748996962412201af9e21d66f9e55 (diff)
downloadmv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz
mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2
mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz
mv-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip
Fix code style in other files.
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp3
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;