diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-23 00:00:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-23 00:00:43 +0300 |
commit | c4e562fffe134b86a35800dbe906afcf761879bc (patch) | |
tree | f6884b020d29745a2e9c859372c058d67476b6bc /src/compoundsprite.h | |
parent | a3ecadac89eafbacd0c6b3764d5977bcac242c57 (diff) | |
download | ManaVerse-c4e562fffe134b86a35800dbe906afcf761879bc.tar.gz ManaVerse-c4e562fffe134b86a35800dbe906afcf761879bc.tar.bz2 ManaVerse-c4e562fffe134b86a35800dbe906afcf761879bc.tar.xz ManaVerse-c4e562fffe134b86a35800dbe906afcf761879bc.zip |
add const and some minor changes in compoundsprite class.
Diffstat (limited to 'src/compoundsprite.h')
-rw-r--r-- | src/compoundsprite.h | 3 |
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. |