summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-04-22 21:16:12 +0200
committerGitHub <noreply@github.com>2018-04-22 21:16:12 +0200
commitf06f7e8a29d84cc1b5126399a9f838c834fcd7c6 (patch)
tree226d68f1cf35f036f6a6b3d1526e1ece267772c1 /src/map/packets_struct.h
parentc75a0679b90fdd5d36b1139159cfbd4b3c3ced5f (diff)
parent44666b72038abfd7b60402e640875a8e910185ea (diff)
downloadhercules-f06f7e8a29d84cc1b5126399a9f838c834fcd7c6.tar.gz
hercules-f06f7e8a29d84cc1b5126399a9f838c834fcd7c6.tar.bz2
hercules-f06f7e8a29d84cc1b5126399a9f838c834fcd7c6.tar.xz
hercules-f06f7e8a29d84cc1b5126399a9f838c834fcd7c6.zip
Merge pull request #2020 from Asheraf/packets
Enable some features for newer client versions
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