diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-28 00:58:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-28 23:40:11 +0300 |
commit | 99906c44cf9208dee4e808e03fddd1f209b6b7fc (patch) | |
tree | 8472ed92c0963938dee4290d25cd6c4ebf2e4d81 /src/animatedsprite.h | |
parent | c430b75e370a21a17f80d4ba3acd84111828a462 (diff) | |
download | manaplus-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.gz manaplus-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.bz2 manaplus-99906c44cf9208dee4e808e03fddd1f209b6b7fc.tar.xz manaplus-99906c44cf9208dee4e808e03fddd1f209b6b7fc.zip |
add const for methods return values.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |