summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 03fec1f8..7706caeb 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -354,6 +354,12 @@ class LocalPlayer : public Player
std::pair<int, int> getExperience(int skill);
+ void setShowIp(bool show)
+ { mShowIp = show; }
+
+ bool getShowIp() const
+ { return mShowIp; }
+
/** Tells that the path has been set by mouse. */
void pathSetByMouse()
{ mPathSetByMouse = true; }
@@ -476,6 +482,8 @@ class LocalPlayer : public Player
int mAfkTime;
bool mAwayMode;
+
+ bool mShowIp;
};
extern LocalPlayer *player_node;