summaryrefslogtreecommitdiff
path: root/src/simpleanimation.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-21 21:56:12 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-21 21:56:12 +0000
commit823aa330987205b251d9f662cfdd4c39149c6ec7 (patch)
tree55e78b4621bfc867b5ff1ecee101d46a6d7169e2 /src/simpleanimation.cpp
parent9d51b2e1077042ae42d42a0e6314e439c62e2925 (diff)
downloadmana-client-823aa330987205b251d9f662cfdd4c39149c6ec7.tar.gz
mana-client-823aa330987205b251d9f662cfdd4c39149c6ec7.tar.bz2
mana-client-823aa330987205b251d9f662cfdd4c39149c6ec7.tar.xz
mana-client-823aa330987205b251d9f662cfdd4c39149c6ec7.zip
Renamed Spriteset to ImageSet.
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r--src/simpleanimation.cpp4
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;