diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-02-16 14:41:24 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-16 15:42:48 -0700 |
commit | d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c (patch) | |
tree | d02c3e0451df5d997e841a865943d411f1dc786e /src/npc.cpp | |
parent | 4924e4a50ae31c30f783285f6e10ac3651c1e6e8 (diff) | |
download | mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.gz mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.bz2 mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.tar.xz mana-d2c175c2d5fba8b78a45d70fbaf24d7b7afe7a3c.zip |
Fixed up NPC dialogs to behave more like eAthena expects.
Diffstat (limited to 'src/npc.cpp')
-rw-r--r-- | src/npc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index c667e11e..3edb57a0 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -145,9 +145,9 @@ void NPC::stringInput(const std::string &value) { MessageOut outMsg(mNetwork); outMsg.writeInt16(CMSG_NPC_STR_RESPONSE); - outMsg.writeInt16(value.length() + 15); + outMsg.writeInt16(value.length() + 9); outMsg.writeInt32(mId); - outMsg.writeString(value, value.length() + 6); + outMsg.writeString(value, value.length()); outMsg.writeInt8(0); } |