From 0534847df83047f1ce2605187d45a762ffeae11e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Sep 2012 21:25:21 +0300 Subject: Add const to more classes. --- src/resources/emotedb.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/resources/emotedb.h') 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(); -- cgit v1.2.3-60-g2f50