summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:48:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:48:01 +0300
commit3f76d07b673de76d7c4e434bd5a214f3480927cb (patch)
treee44953d0e1ba69146709b92d619f5f1970b20d36 /src/being/localplayer.cpp
parent7f9d948a34c0afeb2fbf3e663d058048248b622f (diff)
downloadmanaplus-3f76d07b673de76d7c4e434bd5a214f3480927cb.tar.gz
manaplus-3f76d07b673de76d7c4e434bd5a214f3480927cb.tar.bz2
manaplus-3f76d07b673de76d7c4e434bd5a214f3480927cb.tar.xz
manaplus-3f76d07b673de76d7c4e434bd5a214f3480927cb.zip
Add missing const and static into being classes.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 41688cbf3..529f2c73a 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -3229,7 +3229,7 @@ void LocalPlayer::specialMove(const unsigned char direction)
}
}
-void LocalPlayer::debugMsg(const std::string &str) const
+void LocalPlayer::debugMsg(const std::string &str)
{
if (debugChatTab)
debugChatTab->chatLog(str);
@@ -4317,7 +4317,7 @@ bool LocalPlayer::checAttackPermissions(const Being *const target) const
const char *LocalPlayer::getVarItem(const char *const *const arr,
const unsigned index,
- const unsigned sz) const
+ const unsigned sz)
{
if (index < sz)
return arr[index];