summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index 341212b27..2446e19dc 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -277,7 +277,7 @@ bool AnimatedSprite::draw(Graphics *graphics, int posX, int posY) const
posY + mFrame->offsetY);
}
-bool AnimatedSprite::setSpriteDirection(SpriteDirection direction)
+bool AnimatedSprite::setSpriteDirection(const SpriteDirection direction)
{
if (mDirection != direction)
{