From fe921bd36d4b2ac70ac6c815c166ec8fd9a210aa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Sep 2014 23:25:27 +0300 Subject: eathena: fix packet CMSG_GUILD_MESSAGE. --- src/net/eathena/guildhandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp index 9ea98903a..a4e604803 100644 --- a/src/net/eathena/guildhandler.cpp +++ b/src/net/eathena/guildhandler.cpp @@ -272,8 +272,9 @@ void GuildHandler::chat(const int guildId A_UNUSED, const std::string str = std::string(localPlayer->getName()).append( " : ").append(text); MessageOut msg(CMSG_GUILD_MESSAGE); - msg.writeInt16(static_cast(str.size() + 4)); + msg.writeInt16(static_cast(str.size() + 4 + 1)); msg.writeString(str, static_cast(str.length())); + msg.writeInt8(0); } void GuildHandler::memberList(const int guildId A_UNUSED) const -- cgit v1.2.3-70-g09d2