summaryrefslogtreecommitdiff
path: root/src/net/eathena/auctionrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/auctionrecv.cpp')
-rw-r--r--src/net/eathena/auctionrecv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/auctionrecv.cpp b/src/net/eathena/auctionrecv.cpp
index eed21a5e2..3f91d89a8 100644
--- a/src/net/eathena/auctionrecv.cpp
+++ b/src/net/eathena/auctionrecv.cpp
@@ -47,14 +47,14 @@ void AuctionRecv::processAuctionResults(Net::MessageIn &msg)
{
msg.readInt32("auction id");
msg.readString(24, "seller name");
- msg.readInt32("item id");
+ msg.readInt16("item id"); // here item always 16 bit
msg.readInt32("auction type");
msg.readInt16("item amount"); // always 1
msg.readUInt8("identify");
msg.readUInt8("attribute");
msg.readUInt8("refine");
for (int d = 0; d < maxCards; d ++)
- msg.readUInt16("card");
+ msg.readUInt16("card"); // here item always 16 bit
msg.readInt32("price");
msg.readInt32("buy now");
msg.readString(24, "buyer name");