diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/npc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index ae5ca476..2dbf7f43 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -146,10 +146,10 @@ void NPC::stringInput(const std::string &value) { MessageOut outMsg(mNetwork); outMsg.writeInt16(CMSG_NPC_STR_RESPONSE); - outMsg.writeInt16(value.length() + 8); + outMsg.writeInt16(value.length() + 15); outMsg.writeInt32(mId); - outMsg.writeString(value, value.length()); - outMsg.writeInt8(0); // Just to be safe + outMsg.writeString(value, value.length() + 6); + outMsg.writeInt8(0); } /* |