summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-22 01:22:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-22 01:22:38 +0300
commitf95e58406341d5672048ed9dca293beea9ee6b2c (patch)
tree49bb3f3672bbd152f7ea962815d24ef8cdfb07b0 /src/being
parentf3ac812e2079eac53c1a9db56541d7103bd14a61 (diff)
downloadplus-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.gz
plus-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.bz2
plus-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.xz
plus-f95e58406341d5672048ed9dca293beea9ee6b2c.zip
Add more missing consts.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp2
-rw-r--r--src/being/localplayer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index c3cf67d66..30d629852 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2005,7 +2005,7 @@ void LocalPlayer::navigateClean()
tmpLayer->clean();
}
-void LocalPlayer::updateMusic()
+void LocalPlayer::updateMusic() const
{
if (mMap)
{
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index d5cb3b873..b062cd6c2 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -404,7 +404,7 @@ class LocalPlayer final : public Being,
const int oldVal1,
const int oldVal2) override final;
- void updateMusic();
+ void updateMusic() const;
void setAfkTime(const int v)
{ mAfkTime = v; }