diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-02 21:25:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-02 21:25:21 +0300 |
commit | 0534847df83047f1ce2605187d45a762ffeae11e (patch) | |
tree | 92365ee5ec086b3c65f024096df9d63bd05b31d4 /src/resources/emotedb.h | |
parent | 4f390339f8107c376a10151a2cae889c0ec01089 (diff) | |
download | manaplus-0534847df83047f1ce2605187d45a762ffeae11e.tar.gz manaplus-0534847df83047f1ce2605187d45a762ffeae11e.tar.bz2 manaplus-0534847df83047f1ce2605187d45a762ffeae11e.tar.xz manaplus-0534847df83047f1ce2605187d45a762ffeae11e.zip |
Add const to more classes.
Diffstat (limited to 'src/resources/emotedb.h')
-rw-r--r-- | src/resources/emotedb.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/resources/emotedb.h b/src/resources/emotedb.h index 847f3f0ee..50742d7b5 100644 --- a/src/resources/emotedb.h +++ b/src/resources/emotedb.h @@ -53,13 +53,14 @@ namespace EmoteDB void unload(); - const EmoteInfo *get(int id, bool allowNull = false); + const EmoteInfo *get(const int id, const bool allowNull = false); - const AnimatedSprite *getAnimation(int id, bool allowNull = false); + const AnimatedSprite *getAnimation(const int id, + const bool allowNull = false); - const AnimatedSprite *getAnimation2(int id, bool allowNull = false); + const AnimatedSprite *getAnimation2(int id, const bool allowNull = false); - const EmoteSprite *getSprite(int id, bool allowNull = false); + const EmoteSprite *getSprite(const int id, const bool allowNull = false); const int &getLast(); |