From 1111fdbeb39d01e7612e164512fecf4289569b10 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 Aug 2014 15:46:35 +0300 Subject: eathena: add packet CMSG_CHAR_CREATE 0x0970. --- src/net/eathena/charserverhandler.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/charserverhandler.cpp') diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 2e9d7d5e0..3dd5134e0 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -226,12 +226,11 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot, const int hairstyle, const int hairColor, const unsigned char race A_UNUSED, const unsigned char look A_UNUSED, - const std::vector &stats) const + const std::vector &stats A_UNUSED) + const { MessageOut outMsg(CMSG_CHAR_CREATE); outMsg.writeString(name, 24); - for (int i = 0; i < 6; i++) - outMsg.writeInt8(static_cast(stats[i])); outMsg.writeInt8(static_cast(slot)); outMsg.writeInt16(static_cast(hairColor)); -- cgit v1.2.3-60-g2f50