From 9f8da99f6b6266a7456d3be4d38880a3bd761932 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 May 2016 22:53:57 +0300 Subject: Add into network code function readUInt16. Also fix reading cards id. --- src/net/eathena/auctionrecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/auctionrecv.cpp') diff --git a/src/net/eathena/auctionrecv.cpp b/src/net/eathena/auctionrecv.cpp index cc7723e5f..092020775 100644 --- a/src/net/eathena/auctionrecv.cpp +++ b/src/net/eathena/auctionrecv.cpp @@ -54,7 +54,7 @@ void AuctionRecv::processAuctionResults(Net::MessageIn &msg) msg.readUInt8("attribute"); msg.readUInt8("refine"); for (int d = 0; d < maxCards; d ++) - msg.readInt16("card"); + msg.readUInt16("card"); msg.readInt32("price"); msg.readInt32("buy now"); msg.readString(24, "buyer name"); -- cgit v1.2.3-70-g09d2