diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-24 18:16:17 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-24 18:16:17 -0700 |
commit | 5c79b920eefb219f0dd4491b709af4f116d3a988 (patch) | |
tree | 43d947537af88ddbd3b853e9e35f5bc8d2216818 /src/localplayer.cpp | |
parent | 5e1dc59411cd7973fb4208ae76d0970bd2ea87d6 (diff) | |
download | mana-client-5c79b920eefb219f0dd4491b709af4f116d3a988.tar.gz mana-client-5c79b920eefb219f0dd4491b709af4f116d3a988.tar.bz2 mana-client-5c79b920eefb219f0dd4491b709af4f116d3a988.tar.xz mana-client-5c79b920eefb219f0dd4491b709af4f116d3a988.zip |
Tweaks to the speech bubbles so that being status (GM, mob, npc,
regular player) is displayed in the speech bubbles now. No need to
view your own name to be able to see whether you're showing as a GM now.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index db7a25f8..c6fde7a8 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -173,6 +173,7 @@ void LocalPlayer::logic() void LocalPlayer::setGM() { mIsGM = !mIsGM; + mNameColor = mIsGM ? 0x009000: 0x202020; setName(getName()); config.setValue(getName() + "GMassert", mIsGM); } |