diff options
author | Reid <reidyaro@gmail.com> | 2011-08-08 16:51:11 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2011-08-08 16:51:11 +0200 |
commit | 7f8498bf14338f67089881afb14b0b398a152c8c (patch) | |
tree | e0ba5648c775776be6177dae3c0c8b50922517b1 /src/localplayer.h | |
parent | 391a4c3a1e4d5c3815ba7c822fb9bd03969dea6e (diff) | |
parent | bcd0bdb1f087c3153d070baa274e7ecf8c8268e1 (diff) | |
download | manaverse-7f8498bf14338f67089881afb14b0b398a152c8c.tar.gz manaverse-7f8498bf14338f67089881afb14b0b398a152c8c.tar.bz2 manaverse-7f8498bf14338f67089881afb14b0b398a152c8c.tar.xz manaverse-7f8498bf14338f67089881afb14b0b398a152c8c.zip |
Merge branch 'master' of gitorious.org:manaplus/manaplus
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index df2a61b03..ebc347ce0 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -331,9 +331,15 @@ class LocalPlayer : public Being, public ActorSpriteListener, void setAway(const std::string &message); + bool getAway() + { return mAwayMode; } + void setHalfAway(bool n) { mInactive = n; } + bool getHalfAway() + { return mInactive; } + void afkRespond(ChatTab *tab, const std::string &nick); bool navigateTo(int x, int y); |