summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/animation.cpp2
-rw-r--r--tmw.cbp1
2 files changed, 2 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;
}
}
diff --git a/tmw.cbp b/tmw.cbp
index 32064f45..39e60447 100644
--- a/tmw.cbp
+++ b/tmw.cbp
@@ -15,6 +15,7 @@
<Option deps_output=".deps"/>
<Option type="0"/>
<Option compiler="0"/>
+ <Option parameters="--skipupdate"/>
<Option projectResourceIncludeDirsRelation="0"/>
<Compiler>
<Add option="-Wall"/>