summaryrefslogtreecommitdiff
path: root/src/animation.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-07-21 16:56:13 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-07-21 16:56:13 +0000
commit1b7ff9ad4160fd0ff79d2da658eca8d8c8abf815 (patch)
tree8cac811d8476275d361917bcc9b87b7d8766f638 /src/animation.cpp
parent32f625b1e6f74df6ade7e01350dc41256dfea953 (diff)
downloadmana-1b7ff9ad4160fd0ff79d2da658eca8d8c8abf815.tar.gz
mana-1b7ff9ad4160fd0ff79d2da658eca8d8c8abf815.tar.bz2
mana-1b7ff9ad4160fd0ff79d2da658eca8d8c8abf815.tar.xz
mana-1b7ff9ad4160fd0ff79d2da658eca8d8c8abf815.zip
Whooops
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;
}
}