summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2017-12-23 01:32:35 +0000
committerAsheraf <acheraf1998@gmail.com>2017-12-23 02:37:10 +0000
commitfce05b62b79221fbed2f64d8d32d6f97cee8b00f (patch)
tree233ef693f9400a632f0bc434d981b1a0a721fbc6 /src/map/packets_struct.h
parent99c34eb5637fc48eba2998e304697b96ad6e89bf (diff)
downloadhercules-fce05b62b79221fbed2f64d8d32d6f97cee8b00f.tar.gz
hercules-fce05b62b79221fbed2f64d8d32d6f97cee8b00f.tar.bz2
hercules-fce05b62b79221fbed2f64d8d32d6f97cee8b00f.tar.xz
hercules-fce05b62b79221fbed2f64d8d32d6f97cee8b00f.zip
Add support for new drop packet 0xadd for zero clients
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index e1395e949..f253b8906 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -191,7 +191,9 @@ enum packet_headers {
skill_entryType = 0x9ca,
#endif
graffiti_entryType = 0x1c9,
-#if PACKETVER > 20130000 /* not sure date */
+#ifdef PACKETVER_ZERO
+ dropflooritemType = 0xadd,
+#elif PACKETVER > 20130000 /* not sure date */
dropflooritemType = 0x84b,
#else
dropflooritemType = 0x9e,
@@ -495,6 +497,10 @@ struct packet_dropflooritem {
uint8 subX;
uint8 subY;
int16 count;
+#ifdef PACKETVER_ZERO
+ int8 showdropeffect;
+ int16 dropeffectmode;
+#endif
} __attribute__((packed));
struct packet_idle_unit2 {
#if PACKETVER < 20091103