summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-05-01 02:18:56 -0600
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-03 11:36:59 +0200
commit1bc515864c9f317562b3edb0267a3cc4db5737ad (patch)
tree402de13d4951f65dc13d6f8149fafc61e7edbe15 /src/player.h
parentd592883f61eef2abb7829a6b624d2c85fe54dd5e (diff)
downloadmana-client-1bc515864c9f317562b3edb0267a3cc4db5737ad.tar.gz
mana-client-1bc515864c9f317562b3edb0267a3cc4db5737ad.tar.bz2
mana-client-1bc515864c9f317562b3edb0267a3cc4db5737ad.tar.xz
mana-client-1bc515864c9f317562b3edb0267a3cc4db5737ad.zip
De-hardcoded the color values for the minimap, and set them to their
equivalent Palette color type. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
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