summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-01 21:35:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-01 22:40:36 +0300
commitfc854786ed73fe768d6a3ca22c02f7013560a930 (patch)
tree3a12f555d194679957559760567ff8eb701b494b /src/animatedsprite.cpp
parent09d74d9273cca445b7019edacaff53452a1eee3c (diff)
downloadmv-fc854786ed73fe768d6a3ca22c02f7013560a930.tar.gz
mv-fc854786ed73fe768d6a3ca22c02f7013560a930.tar.bz2
mv-fc854786ed73fe768d6a3ca22c02f7013560a930.tar.xz
mv-fc854786ed73fe768d6a3ca22c02f7013560a930.zip
Fix code style.
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index 4368643c5..69aaceaaa 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -206,7 +206,7 @@ bool AnimatedSprite::updateCurrentAnimation(unsigned int time)
{
if (mFrame->rand == 100 || rand() % 100 <= mFrame->rand)
{
- for (unsigned i = 0; i < mAnimation->getLength(); i ++)
+ for (size_t i = 0; i < mAnimation->getLength(); i ++)
{
Frame *frame = &mAnimation->mFrames[i];
if (frame->type == Frame::LABEL