summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-05-13 00:33:40 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-05-13 00:33:40 +0000
commitb1b8bdc56839540492c409f7d98923c85369a478 (patch)
tree6814c8b6fba7a8c52cc2924eb307450ae111348c /src/player.cpp
parent6a92182d9f24f7003f634c0b6a21af418daef442 (diff)
downloadmana-b1b8bdc56839540492c409f7d98923c85369a478.tar.gz
mana-b1b8bdc56839540492c409f7d98923c85369a478.tar.bz2
mana-b1b8bdc56839540492c409f7d98923c85369a478.tar.xz
mana-b1b8bdc56839540492c409f7d98923c85369a478.zip
Specify the color in which speech and names are supposed to be drawn. Removed
unused mSpeechColor member.
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 54075206..c7e2d911 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -166,5 +166,6 @@ Player::drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY)
int py = mPy + offsetY;
graphics->setFont(speechFont);
+ graphics->setColor(gcn::Color(255, 255, 255));
graphics->drawText(mName, px + 15, py + 30, gcn::Graphics::CENTER);
}