diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 12:33:32 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 12:40:26 -0600 |
commit | 0257eaf4d3945eac7cb3e50ccf8dfef18fa29698 (patch) | |
tree | b56b86e84499b9d46d3e90132019d4a34b1be6bd /src | |
parent | c6a2f58d221247456946100082a580cce9733917 (diff) | |
download | mana-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')
-rw-r--r-- | src/player.cpp | 4 |
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); |