diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:40 +0300 |
commit | 6257baccabe0f4477e7d3165e52ddf714dcff540 (patch) | |
tree | 2b14e89c60c78998ea1048ca34a21160dc7f6870 /src/being/localplayer.h | |
parent | b50eee3c4571c4a4657bc14c2935067d833bb801 (diff) | |
download | manaverse-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.gz manaverse-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.bz2 manaverse-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.xz manaverse-6257baccabe0f4477e7d3165e52ddf714dcff540.zip |
Add const attribute to being classes.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index e47ad4d20..582382e2c 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -356,7 +356,7 @@ class LocalPlayer final : public Being, int getPathLength(const Being *const being) const A_WARN_UNUSED; - void targetMoved() const; + void targetMoved() const A_CONST; void setLastHitFrom(const std::string &n) { mLastHitFrom = n; } @@ -365,7 +365,8 @@ class LocalPlayer final : public Being, void checkNewName(Being *const being); - unsigned char getBlockWalkMask() const override final A_WARN_UNUSED; + unsigned char getBlockWalkMask() const override final + A_CONST A_WARN_UNUSED; void saveHomes(); |