From 3eeda93ef807f1753ff97f089d0c158a8ca85ebb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 Jul 2018 02:28:10 +0300 Subject: Fix packet struct packet_additem. --- src/map/packets_struct.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index c6ce76c3b..75687c8ca 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -506,7 +506,11 @@ struct packet_additem { int16 PacketType; uint16 Index; uint16 count; +#if PACKETVER_RE_NUM >= 20180704 + uint32 nameid; +#else uint16 nameid; +#endif uint8 IsIdentified; uint8 IsDamaged; uint8 refiningLevel; -- cgit v1.2.3-70-g09d2