summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 17:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 17:43:19 +0300
commite3ad003fe09ff90524ffa5deae844e6721b903b2 (patch)
tree756f8cae3ee12060548384ece6750a25bee4ab45 /src/net/eathena/partyhandler.cpp
parent4ab7d38fe9033695e23042e97b55999b26f00fd7 (diff)
downloadmanaplus-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.gz
manaplus-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.bz2
manaplus-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.xz
manaplus-e3ad003fe09ff90524ffa5deae844e6721b903b2.zip
Set cards from net code.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index a3ccb6776..9a83a739e 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -479,10 +479,8 @@ void PartyHandler::processPartyItemPickup(Net::MessageIn &msg)
msg.readUInt8("identify");
msg.readUInt8("attribute");
msg.readUInt8("refine");
- msg.readInt16("card0");
- msg.readInt16("card1");
- msg.readInt16("card2");
- msg.readInt16("card3");
+ for (int f = 0; f < 4; f++)
+ msg.readInt16("card");
msg.readInt16("equip location");
msg.readUInt8("item type");
}