diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-05-19 15:10:50 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-05-19 15:10:50 +0000 |
commit | 25ae0888d39ff370bfe8fa3f4f5eb572dbbe59ec (patch) | |
tree | 589eda78b0a20e075925a38117d13fb752b8260a /src/net/beinghandler.cpp | |
parent | b87f51fcfe98adbce9fcb9e5a4bb54c9daf9b10a (diff) | |
download | mana-25ae0888d39ff370bfe8fa3f4f5eb572dbbe59ec.tar.gz mana-25ae0888d39ff370bfe8fa3f4f5eb572dbbe59ec.tar.bz2 mana-25ae0888d39ff370bfe8fa3f4f5eb572dbbe59ec.tar.xz mana-25ae0888d39ff370bfe8fa3f4f5eb572dbbe59ec.zip |
Diffstat (limited to 'src/net/beinghandler.cpp')
-rw-r--r-- | src/net/beinghandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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: |