diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-24 16:15:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-24 16:15:21 +0300 |
commit | 34c821abdad0af3064d7e3ee9585bbbb35953a15 (patch) | |
tree | d22ef233454ddc5e1c9769670ec3783d0f02efd8 | |
parent | 38c7345e781e9f6e645f703ffe178849a2140301 (diff) | |
download | manaplus-34c821abdad0af3064d7e3ee9585bbbb35953a15.tar.gz manaplus-34c821abdad0af3064d7e3ee9585bbbb35953a15.tar.bz2 manaplus-34c821abdad0af3064d7e3ee9585bbbb35953a15.tar.xz manaplus-34c821abdad0af3064d7e3ee9585bbbb35953a15.zip |
add missing const int beinginfo.
-rw-r--r-- | src/resources/beinginfo.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index b776c20ff..d27704aaf 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -212,10 +212,10 @@ class BeingInfo final void setAvatarId(const uint16_t id) { mAvatarId = id; } - int getWidth() const + int getWidth() const A_WARN_UNUSED { return mWidth; } - int getHeight() const + int getHeight() const A_WARN_UNUSED { return mHeight; } void setWidth(const int n) @@ -227,30 +227,30 @@ class BeingInfo final void setStartFollowDist(const int n) { mStartFollowDist = n; } - int getStartFollowDist() + int getStartFollowDist() const A_WARN_UNUSED { return mStartFollowDist; } void setFollowDist(const int n) { mFollowDist = n; } - int getFollowDist() + int getFollowDist() const A_WARN_UNUSED { return mFollowDist; } void setWalkSpeed(const int n) { mWalkSpeed = n; } - int getWalkSpeed() + int getWalkSpeed() const A_WARN_UNUSED { return mWalkSpeed; } void setWarpDist(const int n) { mWarpDist = n; } - int getWarpDist() + int getWarpDist() const A_WARN_UNUSED { return mWarpDist; } void setColorsList(const std::string &name); - std::string getColor(const int idx) const; + std::string getColor(const int idx) const A_WARN_UNUSED; static void init(); |