summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
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();