diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-07 17:56:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-07 17:56:08 +0300 |
commit | 82a4015692e630f36f94a55590c1b59b958c5a17 (patch) | |
tree | 72e7cbd31b45e13d252a38d5fcad4620b48ec6b5 /src/being | |
parent | afc6bb37100fd110512cd1119920719376e87ecf (diff) | |
download | manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.gz manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.bz2 manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.tar.xz manaplus-82a4015692e630f36f94a55590c1b59b958c5a17.zip |
add missing const and static keywords.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 4 | ||||
-rw-r--r-- | src/being/localplayer.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index a8caa73fa..cc8436408 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2121,7 +2121,7 @@ static const char *const debugPathStrings[] = N_("(b) black & white map view") }; -std::string LocalPlayer::getDebugPathString() const +std::string LocalPlayer::getDebugPathString() { return gettext(getVarItem(&debugPathStrings[0], viewport->getDebugPath(), debugPathSize)); @@ -2277,7 +2277,7 @@ static const char *const cameraModeStrings[] = N_("(?) away") }; -std::string LocalPlayer::getCameraModeString() const +std::string LocalPlayer::getCameraModeString() { return gettext(getVarItem(&cameraModeStrings[0], viewport->getCameraMode(), cameraModeSize)); diff --git a/src/being/localplayer.h b/src/being/localplayer.h index c8fa5a32a..6ba12bd56 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -489,7 +489,7 @@ class LocalPlayer final : public Being, std::string getPickUpTypeString(); - std::string getDebugPathString() const; + static std::string getDebugPathString(); std::string getMagicAttackString(); @@ -499,7 +499,7 @@ class LocalPlayer final : public Being, std::string getAwayModeString(); - std::string getCameraModeString() const; + static std::string getCameraModeString(); std::string getGameModifiersString(); |