From 489a429bea6739dfa25503b9329bd9e33bffb856 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Thu, 25 Sep 2008 00:15:44 +0000 Subject: Merged the Tametomo branch into trunk. --- src/npc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/npc.cpp') diff --git a/src/npc.cpp b/src/npc.cpp index 1615ecd6..fe0b4598 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -86,7 +86,8 @@ void NPC::setName(const std::string &name) mName = new Text(name, mPx + NAME_X_OFFSET, mPy + NAME_Y_OFFSET, gcn::Graphics::CENTER, npcNameFont, gcn::Color(200, 200, 255)); - } + Being::setName(name + " (NPC)"); +} Being::Type NPC::getType() const -- cgit v1.2.3-70-g09d2