diff options
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r-- | src/simpleanimation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp index a0aedc06..5fc35bcd 100644 --- a/src/simpleanimation.cpp +++ b/src/simpleanimation.cpp @@ -23,12 +23,10 @@ #include "simpleanimation.h" -#include "graphics.h" - void SimpleAnimation::update(unsigned int timePassed) { - mAnimationTime+=timePassed; + mAnimationTime += timePassed; while (mAnimationTime > mCurrentFrame->delay) { mAnimationTime -= mCurrentFrame->delay; |