summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-04 13:43:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-04 13:43:28 +0300
commita091e57428367f0fee4130cda66867fe56e0e12e (patch)
tree82960f37f2defa7cc486e4653c4b087edbf959a8 /src/net/eathena/charserverhandler.cpp
parentfb36852e1fe3e93811ef7de329729789ec815cf5 (diff)
downloadmanaplus-a091e57428367f0fee4130cda66867fe56e0e12e.tar.gz
manaplus-a091e57428367f0fee4130cda66867fe56e0e12e.tar.bz2
manaplus-a091e57428367f0fee4130cda66867fe56e0e12e.tar.xz
manaplus-a091e57428367f0fee4130cda66867fe56e0e12e.zip
eathena: update to hercules changes for packets version 20141022.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
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);