summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-03 23:13:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-03 23:13:33 +0300
commitef52c9f9df0dd3b1e79226af71c772c4a23f9df8 (patch)
tree761598377d0a4025836202d4a4e32c2f74d7c118 /src/net/eathena/inventoryrecv.cpp
parentcb7857484a05fe6a27511ea0d61f87463c031da0 (diff)
downloadmanaverse-ef52c9f9df0dd3b1e79226af71c772c4a23f9df8.tar.gz
manaverse-ef52c9f9df0dd3b1e79226af71c772c4a23f9df8.tar.bz2
manaverse-ef52c9f9df0dd3b1e79226af71c772c4a23f9df8.tar.xz
manaverse-ef52c9f9df0dd3b1e79226af71c772c4a23f9df8.zip
Add packet SMSG_PLAYER_EQUIP 0x00aa.
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r--src/net/eathena/inventoryrecv.cpp3
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)