diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-01 23:56:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-02 14:28:17 +0300 |
commit | 520a495c466793c29f3e721634dfe6cc616b8ede (patch) | |
tree | 749b67f5d4df83f6f4997dabeb66ec394eabccd7 /src/being | |
parent | f9030497b6196ce2fadb6b6ada5d784be227d9a6 (diff) | |
download | manaverse-520a495c466793c29f3e721634dfe6cc616b8ede.tar.gz manaverse-520a495c466793c29f3e721634dfe6cc616b8ede.tar.bz2 manaverse-520a495c466793c29f3e721634dfe6cc616b8ede.tar.xz manaverse-520a495c466793c29f3e721634dfe6cc616b8ede.zip |
Add missing const.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 3 | ||||
-rw-r--r-- | src/being/localplayer.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 3813f5121..feb6c590a 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -3370,7 +3370,8 @@ void LocalPlayer::imitateDirection(const Being *const being, } } -void LocalPlayer::imitateOutfit(Being *const player, const int sprite) const +void LocalPlayer::imitateOutfit(const Being *const player, + const int sprite) const { if (!player) return; diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 5e8e0e8fe..a0ff28dc2 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -349,7 +349,8 @@ class LocalPlayer final : public Being, void imitateDirection(const Being *const being, const unsigned char dir); - void imitateOutfit(Being *const player, const int sprite = -1) const; + void imitateOutfit(const Being *const player, + const int sprite = -1) const; void followMoveTo(const Being *const being, const int x, const int y); |