summaryrefslogtreecommitdiff
path: root/src/simpleanimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r--src/simpleanimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp
index 2d3634bb..161b50c9 100644
--- a/src/simpleanimation.cpp
+++ b/src/simpleanimation.cpp
@@ -71,11 +71,11 @@ void SimpleAnimation::setFrame(int frame)
mCurrentFrame = mAnimation.getFrame(mAnimationPhase);
}
-void SimpleAnimation::update(int timePassed)
+void SimpleAnimation::update(int dt)
{
if (mInitialized)
{
- mAnimationTime += timePassed;
+ mAnimationTime += dt;
while (mAnimationTime > mCurrentFrame->delay && mCurrentFrame->delay > 0)
{