diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/net/beinghandler.cpp | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-05-19 Philipp Sehmisch <tmw@crushnet.org> + + * src/net/beinghandler.cpp: Implemented interpretation of names for + NPCs and monsters. + 2008-05-16 David Athay <ko2fan@gmail.com> * src/gui/popupmenu.cpp: Applied QOAL's patch to fix popups at diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index f31ee48b..b1c502e1 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -490,6 +490,8 @@ BeingHandler::handleBeingEnterMessage(MessageIn &msg) { int subtype = msg.readInt16(); being = beingManager->createBeing(id, type, subtype); + std::string name = msg.readString(); + if (name.length() > 0) being->setName(name); } break; default: |