[General] Compress item refIds in PlayerEquipment packets

pull/471/head
David Cernat 7 years ago
parent 2332423527
commit 2dbf3893c0

@ -46,7 +46,7 @@ void PacketPlayerEquipment::Packet(RakNet::BitStream *bs, bool send)
void PacketPlayerEquipment::ExchangeItemInformation(Item &item, bool send) void PacketPlayerEquipment::ExchangeItemInformation(Item &item, bool send)
{ {
RW(item.refId, send); RW(item.refId, send, true);
RW(item.count, send); RW(item.count, send);
RW(item.charge, send); RW(item.charge, send);
RW(item.enchantmentCharge, send); RW(item.enchantmentCharge, send);

Loading…
Cancel
Save