summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index eacdd5e8d..a68cfcdd9 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -39,7 +39,7 @@
bool AnimatedSprite::mEnableCache = false;
AnimatedSprite::AnimatedSprite(SpriteDef *const sprite):
- mDirection(DIRECTION_DOWN),
+ mDirection(SpriteDirection::DOWN),
mLastTime(0),
mFrameIndex(0),
mFrameTime(0),
@@ -303,7 +303,7 @@ void AnimatedSprite::draw(Graphics *const graphics,
posX + mFrame->offsetX, posY + mFrame->offsetY);
}
-bool AnimatedSprite::setSpriteDirection(const SpriteDirection direction)
+bool AnimatedSprite::setSpriteDirection(const SpriteDirection::Type direction)
{
if (mDirection != direction)
{