summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-23 00:00:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-23 00:00:43 +0300
commitc4e562fffe134b86a35800dbe906afcf761879bc (patch)
treef6884b020d29745a2e9c859372c058d67476b6bc /src/compoundsprite.h
parenta3ecadac89eafbacd0c6b3764d5977bcac242c57 (diff)
downloadplus-c4e562fffe134b86a35800dbe906afcf761879bc.tar.gz
plus-c4e562fffe134b86a35800dbe906afcf761879bc.tar.bz2
plus-c4e562fffe134b86a35800dbe906afcf761879bc.tar.xz
plus-c4e562fffe134b86a35800dbe906afcf761879bc.zip
add const and some minor changes in compoundsprite class.
Diffstat (limited to 'src/compoundsprite.h')
-rw-r--r--src/compoundsprite.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compoundsprite.h b/src/compoundsprite.h
index 928c6b06f..777b09363 100644
--- a/src/compoundsprite.h
+++ b/src/compoundsprite.h
@@ -116,7 +116,8 @@ public:
/**
* Returns the curent frame in the current animation of the given layer.
*/
- virtual unsigned int getCurrentFrame(unsigned int layer) A_WARN_UNUSED;
+ virtual unsigned int getCurrentFrame(unsigned int layer)
+ const A_WARN_UNUSED;
/**
* Returns the frame count in the current animation of the given layer.