summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/whoisonline.h')
-rw-r--r--src/gui/whoisonline.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/whoisonline.h b/src/gui/whoisonline.h
index 4f70b24f9..1158ce03c 100644
--- a/src/gui/whoisonline.h
+++ b/src/gui/whoisonline.h
@@ -56,7 +56,8 @@ class OnlinePlayer
mStatus(status),
mLevel(level),
mVersion(version),
- mGender(gender)
+ mGender(gender),
+ mIsGM(false)
{
}
@@ -66,6 +67,9 @@ class OnlinePlayer
unsigned char getStaus() const
{ return mStatus; }
+ void setIsGM(bool b)
+ { mIsGM = b; }
+
char getVersion() const
{ return mVersion; }
@@ -92,6 +96,8 @@ class OnlinePlayer
char mVersion;
unsigned char mGender;
+
+ bool mIsGM;
};
/**