diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-13 04:25:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-13 04:25:02 +0300 |
commit | 4df91305cef4b57adfd83c2320ce954cfc369f92 (patch) | |
tree | 5158c9f590632208769b9a94e1a0df3cc2454eec /src | |
parent | c978b7f0d9de1bb6bd84cd299ed80c27c5147927 (diff) | |
download | mv-4df91305cef4b57adfd83c2320ce954cfc369f92.tar.gz mv-4df91305cef4b57adfd83c2320ce954cfc369f92.tar.bz2 mv-4df91305cef4b57adfd83c2320ce954cfc369f92.tar.xz mv-4df91305cef4b57adfd83c2320ce954cfc369f92.zip |
Fix compilation warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/animatedsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp index 1069bcf47..61223a876 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -162,7 +162,7 @@ bool AnimatedSprite::updateCurrentAnimation(unsigned int time) { if (mFrame->rand == 100 || rand() % 100 <= mFrame->rand) { - for (int i = 0; i < mAnimation->getLength(); i ++) + for (unsigned i = 0; i < mAnimation->getLength(); i ++) { Frame *frame = mAnimation->getFrame(i); if (frame->type == Frame::LABEL |