summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorMatthias Hartmann <hartmann.matthias@gmail.com>2005-09-17 14:05:31 +0000
committerMatthias Hartmann <hartmann.matthias@gmail.com>2005-09-17 14:05:31 +0000
commit02e54bb74d2032abfbbdb17dc14d8d85664deb40 (patch)
tree6eae3e92eb3b621392b8e3e0f652ed627eb003ee /src/engine.cpp
parente846d4502b59a1a3b8d658a37ae5b5ce4aa1c00c (diff)
downloadmana-client-02e54bb74d2032abfbbdb17dc14d8d85664deb40.tar.gz
mana-client-02e54bb74d2032abfbbdb17dc14d8d85664deb40.tar.bz2
mana-client-02e54bb74d2032abfbbdb17dc14d8d85664deb40.tar.xz
mana-client-02e54bb74d2032abfbbdb17dc14d8d85664deb40.zip
I already know my own name...and i dont want to trade with myself.
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