summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sprite.h')
-rw-r--r--src/sprite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sprite.h b/src/sprite.h
index 60dc288f1..2d7b7c0a6 100644
--- a/src/sprite.h
+++ b/src/sprite.h
@@ -83,7 +83,7 @@ class Sprite
*
* @returns true if the sprite changed, false otherwise
*/
- virtual bool setSpriteDirection(SpriteDirection direction) = 0;
+ virtual bool setSpriteDirection(const SpriteDirection direction) = 0;
/**
* Sets the alpha value of the animated sprite