summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 41fc84a8..0580ef89 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -164,6 +164,12 @@ class LocalPlayer : public Being
*/
void pickedUp(const ItemInfo &itemInfo, int amount);
+ void setShowIp(bool show)
+ { mShowIp = show; }
+
+ bool getShowIp() const
+ { return mShowIp; }
+
/** Tells that the path has been set by mouse. */
void pathSetByMouse()
{ mPathSetByMouse = true; }
@@ -183,7 +189,7 @@ class LocalPlayer : public Being
void event(const std::string &channel, const Mana::Event &event);
/**
- * Tells the engine whether to check
+ * Tells the engine wether to check
* if the Player Name is to be displayed.
*/
void setCheckNameSetting(bool checked) { mUpdateName = checked; }
@@ -224,6 +230,8 @@ class LocalPlayer : public Being
/** Queued messages*/
std::list<MessagePair> mMessages;
int mMessageTime;
+
+ bool mShowIp;
};
extern LocalPlayer *player_node;