diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:48:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:48:11 +0300 |
commit | 767b8400fb086616616a298655f0bc2eaf239256 (patch) | |
tree | 9d82215887c79c596127506f50daf2ed31c23d8c /src/simpleanimation.cpp | |
parent | cd0de3bd2668294ab3174d3b5f032fefc25fa0e8 (diff) | |
download | ManaVerse-767b8400fb086616616a298655f0bc2eaf239256.tar.gz ManaVerse-767b8400fb086616616a298655f0bc2eaf239256.tar.bz2 ManaVerse-767b8400fb086616616a298655f0bc2eaf239256.tar.xz ManaVerse-767b8400fb086616616a298655f0bc2eaf239256.zip |
Fix code style in other files.
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r-- | src/simpleanimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp index a2c765cb8..b067a6de6 100644 --- a/src/simpleanimation.cpp +++ b/src/simpleanimation.cpp @@ -118,7 +118,7 @@ bool SimpleAnimation::update(const int timePassed) mAnimationTime -= mCurrentFrame->delay; mAnimationPhase++; - if (static_cast<unsigned>(mAnimationPhase) >= mAnimation->getLength()) + if (static_cast<size_t>(mAnimationPhase) >= mAnimation->getLength()) mAnimationPhase = 0; mCurrentFrame = &mAnimation->mFrames[mAnimationPhase]; |