diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-03 23:13:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-03 23:13:33 +0300 |
commit | ef52c9f9df0dd3b1e79226af71c772c4a23f9df8 (patch) | |
tree | 761598377d0a4025836202d4a4e32c2f74d7c118 /src/net/eathena/inventoryrecv.cpp | |
parent | cb7857484a05fe6a27511ea0d61f87463c031da0 (diff) | |
download | plus-ef52c9f9df0dd3b1e79226af71c772c4a23f9df8.tar.gz plus-ef52c9f9df0dd3b1e79226af71c772c4a23f9df8.tar.bz2 plus-ef52c9f9df0dd3b1e79226af71c772c4a23f9df8.tar.xz plus-ef52c9f9df0dd3b1e79226af71c772c4a23f9df8.zip |
Add packet SMSG_PLAYER_EQUIP 0x00aa.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r-- | src/net/eathena/inventoryrecv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp index d313c8c7c..e5d5ec059 100644 --- a/src/net/eathena/inventoryrecv.cpp +++ b/src/net/eathena/inventoryrecv.cpp @@ -493,7 +493,8 @@ void InventoryRecv::processPlayerEquip(Net::MessageIn &msg) equipType = msg.readInt32("wear location"); else equipType = msg.readInt16("wear location"); - msg.readInt16("sprite"); + if (msg.getVersion() >= 20100629) + msg.readInt16("sprite"); const uint8_t flag = msg.readUInt8("result"); switch (flag) |