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/partyrecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/partyrecv.cpp') diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp index e23959a1c..30918e120 100644 --- a/src/net/eathena/partyrecv.cpp +++ b/src/net/eathena/partyrecv.cpp @@ -288,7 +288,7 @@ void PartyRecv::processPartyItemPickup(Net::MessageIn &msg) msg.readUInt8("attribute"); msg.readUInt8("refine"); for (int f = 0; f < maxCards; f++) - msg.readInt16("card"); + msg.readUInt16("card"); msg.readInt16("equip location"); msg.readUInt8("item type"); // for color can be used ItemColorManager -- cgit v1.2.3-70-g09d2