summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-05 02:28:10 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-12 02:29:12 +0300
commit3eeda93ef807f1753ff97f089d0c158a8ca85ebb (patch)
tree3e72c4e5dd4f5b813d884fa5444c124df7beacfc /src
parent905c220036c36b3feaea9cafa4eac17d777ebea9 (diff)
downloadhercules-3eeda93ef807f1753ff97f089d0c158a8ca85ebb.tar.gz
hercules-3eeda93ef807f1753ff97f089d0c158a8ca85ebb.tar.bz2
hercules-3eeda93ef807f1753ff97f089d0c158a8ca85ebb.tar.xz
hercules-3eeda93ef807f1753ff97f089d0c158a8ca85ebb.zip
Fix packet struct packet_additem.
Diffstat (limited to 'src')
-rw-r--r--src/map/packets_struct.h4
1 files changed, 4 insertions, 0 deletions
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;