summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 6c28d1c2..73ee30b1 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -351,11 +351,13 @@ void Engine::draw()
being->text_x + 3, being->text_y - 90);
}
+ if (being != player_node) {
graphics->setFont(speechFont);
graphics->drawText(being->getName(),
being->text_x + 15, being->text_y + 30,
gcn::Graphics::CENTER);
graphics->setFont(gui->getFont());
+ }
break;
// Draw a NPC