From 99906c44cf9208dee4e808e03fddd1f209b6b7fc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Sep 2013 00:58:25 +0300 Subject: add const for methods return values. --- src/animatedsprite.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/animatedsprite.h') diff --git a/src/animatedsprite.h b/src/animatedsprite.h index 6ca44bb80..df287a560 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -136,8 +136,8 @@ class AnimatedSprite final : public Sprite SpriteDef *mSprite; /**< The sprite definition. */ const Action *mAction; /**< The currently active action. */ - Animation *mAnimation; /**< The currently active animation. */ - Frame *mFrame; /**< The currently active frame. */ + const Animation *mAnimation; /**< The currently active animation. */ + const Frame *mFrame; /**< The currently active frame. */ unsigned mNumber; unsigned mNumber1; AnimationDelayLoad *mDelayLoad; -- cgit v1.2.3-60-g2f50