From a091e57428367f0fee4130cda66867fe56e0e12e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Nov 2014 13:43:28 +0300 Subject: eathena: update to hercules changes for packets version 20141022. --- src/net/eathena/charserverhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/charserverhandler.cpp') diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 760683073..4d90e4505 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -204,7 +204,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, msg.readInt16("speed"); tempPlayer->setSubtype(msg.readInt16("class"), 0); const int hairStyle = msg.readInt16("hair style"); - const uint16_t weapon = msg.readInt16("weapon"); + const uint16_t weapon = msg.readInt32("weapon"); tempPlayer->setSprite(SPRITE_WEAPON, weapon, "", 1, true); -- cgit v1.2.3-70-g09d2