summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-04-18 05:53:48 +0100
committerAsheraf <acheraf1998@gmail.com>2018-04-18 06:29:10 +0100
commit4686ff6cfcc579f6a1f1700407bbf63318edd2c9 (patch)
treefe314bcc0c04ce8d77b929669946e85e7fcf3bc6 /src/map/packets_struct.h
parent7b097da8b433ea3b768b6c306c12801f7ddef0a5 (diff)
downloadhercules-4686ff6cfcc579f6a1f1700407bbf63318edd2c9.tar.gz
hercules-4686ff6cfcc579f6a1f1700407bbf63318edd2c9.tar.bz2
hercules-4686ff6cfcc579f6a1f1700407bbf63318edd2c9.tar.xz
hercules-4686ff6cfcc579f6a1f1700407bbf63318edd2c9.zip
Enable new drop packet for PACKETVER >= 20180418
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 438084778..5b9a4344a 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -191,7 +191,7 @@ enum packet_headers {
skill_entryType = 0x9ca,
#endif
graffiti_entryType = 0x1c9,
-#ifdef PACKETVER_ZERO
+#if defined(PACKETVER_ZERO) || PACKETVER >= 20180418
dropflooritemType = 0xadd,
#elif PACKETVER > 20130000 /* not sure date */
dropflooritemType = 0x84b,
@@ -530,7 +530,7 @@ struct packet_dropflooritem {
uint8 subX;
uint8 subY;
int16 count;
-#ifdef PACKETVER_ZERO
+#if defined(PACKETVER_ZERO) || PACKETVER >= 20180418
int8 showdropeffect;
int16 dropeffectmode;
#endif