diff options
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/player.cpp b/src/player.cpp index d62018f2..ad5b568b 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -50,10 +50,15 @@ void Player::setName(const std::string &name) { if (mName == 0) { - if (mIsGM) { + if (mIsGM) + { + mNameColor = 0x009000; mName = new FlashText("(GM) " + name, mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET, gcn::Graphics::CENTER, gcn::Color(0, 255, 0)); - } else { + } + else + { + mNameColor = 0x202020; mName = new FlashText(name, mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET, gcn::Graphics::CENTER, gcn::Color(255, 255, 255)); } |