summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-15 19:46:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-15 23:35:48 +0300
commit243932ef169949917f17d3107e00f97886da0a14 (patch)
tree8f11d6e99b250ff480a32b04ea3bbb0ce9bc7f14 /src/being/localplayer.cpp
parent3658d5a5564db6f0854ec9378c485aef8acc8992 (diff)
downloadmv-243932ef169949917f17d3107e00f97886da0a14.tar.gz
mv-243932ef169949917f17d3107e00f97886da0a14.tar.bz2
mv-243932ef169949917f17d3107e00f97886da0a14.tar.xz
mv-243932ef169949917f17d3107e00f97886da0a14.zip
Fix code style.
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 bc1cf5bd5..7c07e57cb 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2463,7 +2463,7 @@ void LocalPlayer::tryPingRequest()
}
-void LocalPlayer::setAway(const std::string &message)
+void LocalPlayer::setAway(const std::string &message) const
{
setAfkMessage(message);
GameModifiers::changeAwayMode();
@@ -2487,7 +2487,7 @@ void LocalPlayer::setAfkMessage(std::string message)
}
}
-void LocalPlayer::setPseudoAway(const std::string &message)
+void LocalPlayer::setPseudoAway(const std::string &message) const
{
setAfkMessage(message);
settings.pseudoAwayMode = !settings.pseudoAwayMode;