summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryrecv.cpp
diff options
context:
space:
mode:
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)