summaryrefslogtreecommitdiff
path: root/src/net/eathena/buyingstorerecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/buyingstorerecv.cpp')
-rw-r--r--src/net/eathena/buyingstorerecv.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/net/eathena/buyingstorerecv.cpp b/src/net/eathena/buyingstorerecv.cpp
index 71396df4c..4480a01bf 100644
--- a/src/net/eathena/buyingstorerecv.cpp
+++ b/src/net/eathena/buyingstorerecv.cpp
@@ -196,7 +196,17 @@ void BuyingStoreRecv::processBuyingStoreReport(Net::MessageIn &msg)
UNIMPLIMENTEDPACKET;
msg.readInt16("item id");
msg.readInt16("amount");
- msg.readInt32("money limit");
+ if (msg.getVersion() >= 20141016)
+ {
+ msg.readInt32("money");
+ msg.readInt32("money limit");
+ msg.readInt32("char id");
+ msg.readInt32("date");
+ }
+ else
+ {
+ msg.readInt32("money limit");
+ }
}
void BuyingStoreRecv::processBuyingStoreDeleteItem(Net::MessageIn &msg)