summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
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/compoundsprite.cpp
parented3410d7eb61593a2235ddba97ce257c85e405a6 (diff)
downloadmv-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.gz
mv-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.bz2
mv-4df121e6dcdf53436f50ce81dd60096ce0138a2c.tar.xz
mv-4df121e6dcdf53436f50ce81dd60096ce0138a2c.zip
Add const to more classes.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r--src/compoundsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index ecb7d8c6e..f22e927f0 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -207,7 +207,7 @@ const Image *CompoundSprite::getImage() const
return mImage;
}
-bool CompoundSprite::setSpriteDirection(SpriteDirection direction)
+bool CompoundSprite::setSpriteDirection(const SpriteDirection direction)
{
bool ret = false;