summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-12 12:33:32 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-12 12:40:26 -0600
commit0257eaf4d3945eac7cb3e50ccf8dfef18fa29698 (patch)
treeb56b86e84499b9d46d3e90132019d4a34b1be6bd /src/player.cpp
parentc6a2f58d221247456946100082a580cce9733917 (diff)
downloadmana-0257eaf4d3945eac7cb3e50ccf8dfef18fa29698.tar.gz
mana-0257eaf4d3945eac7cb3e50ccf8dfef18fa29698.tar.bz2
mana-0257eaf4d3945eac7cb3e50ccf8dfef18fa29698.tar.xz
mana-0257eaf4d3945eac7cb3e50ccf8dfef18fa29698.zip
Add proper GM hilighting to other players
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.cpp b/src/player.cpp
index b7370e03..453b8bdd 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -76,6 +76,10 @@ void Player::setName(const std::string &name)
{
color = &guiPalette->getColor(Palette::SELF);
}
+ else if (mIsGM)
+ {
+ color = &guiPalette->getColor(Palette::GM);
+ }
else if (mInParty)
{
color = &guiPalette->getColor(Palette::PARTY);