summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
diff options
context:
space:
mode:
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.