summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:40 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:40 +0300
commit6257baccabe0f4477e7d3165e52ddf714dcff540 (patch)
tree2b14e89c60c78998ea1048ca34a21160dc7f6870 /src/being/localplayer.h
parentb50eee3c4571c4a4657bc14c2935067d833bb801 (diff)
downloadmanaplus-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.gz
manaplus-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.bz2
manaplus-6257baccabe0f4477e7d3165e52ddf714dcff540.tar.xz
manaplus-6257baccabe0f4477e7d3165e52ddf714dcff540.zip
Add const attribute to being classes.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r--src/being/localplayer.h5
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();