summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index d1155f4b..53b70b1d 100644
--- a/src/player.h
+++ b/src/player.h
@@ -60,6 +60,11 @@ class Player : public Being
virtual void setGender(Gender gender);
/**
+ * Whether or not this player is a GM.
+ */
+ bool isGM() { return mIsGM; }
+
+ /**
* Sets the hair style and color for this player.
*
* Only for convenience in 0.0 client. When porting