summaryrefslogtreecommitdiff
path: root/src/sprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-01 20:49:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 00:37:51 +0300
commit4df121e6dcdf53436f50ce81dd60096ce0138a2c (patch)
tree7cadc707bb49e4c148ba9c182075697a9643e20a /src/sprite.h
parented3410d7eb61593a2235ddba97ce257c85e405a6 (diff)
downloadmanaplus-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.gz
manaplus-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.bz2
manaplus-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.xz
manaplus-4df121e6dcdf53436f50ce81dd60096ce0138a2c.zip
Add const to more classes.
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