summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r--src/animatedsprite.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h
index 05c73ddd..51544a48 100644
--- a/src/animatedsprite.h
+++ b/src/animatedsprite.h
@@ -79,10 +79,9 @@ class AnimatedSprite final : public Sprite
int getDuration() const override;
private:
- bool updateCurrentAnimation(unsigned int dt);
+ bool updateCurrentAnimation(int dt);
SpriteDirection mDirection = DIRECTION_DOWN; /**< The sprite direction. */
- int mLastTime = 0; /**< The last time update was called. */
int mFrameIndex = 0; /**< The index of the current frame. */
int mFrameTime = 0; /**< The time since start of frame. */