From 1b7ff9ad4160fd0ff79d2da658eca8d8c8abf815 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Fri, 21 Jul 2006 16:56:13 +0000 Subject: Whooops --- src/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } } -- cgit v1.2.3-70-g09d2