summaryrefslogtreecommitdiff
path: root/src/animation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation.cpp')
-rw-r--r--src/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation.cpp b/src/animation.cpp
index 129ab4bf..4dae04c4 100644
--- a/src/animation.cpp
+++ b/src/animation.cpp
@@ -359,7 +359,7 @@ AnimatedSprite::update(int time)
{
Action *action = mActions[mAction];
Animation *animation = action->getAnimation(mDirection);
- animation->update((time - mLastTime) * mSpeed, mSpeed);
+ animation->update((unsigned int)((time - mLastTime) * mSpeed));
mLastTime = time;
}
}