diff options
author | Haru <haru@dotalux.com> | 2018-01-14 15:22:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-14 15:22:13 +0100 |
commit | adaebd02567d3034f88acda3a99c56358e1adc13 (patch) | |
tree | 2e379dc9a740a5c453aa845fc9387e95f1d10747 /src/map/packets_struct.h | |
parent | be6b748363717519019cd606d2013868ae6d9378 (diff) | |
parent | 6612f0bb52d11c2a097f80174cbbb2e98e2ff4aa (diff) | |
download | hercules-adaebd02567d3034f88acda3a99c56358e1adc13.tar.gz hercules-adaebd02567d3034f88acda3a99c56358e1adc13.tar.bz2 hercules-adaebd02567d3034f88acda3a99c56358e1adc13.tar.xz hercules-adaebd02567d3034f88acda3a99c56358e1adc13.zip |
Merge pull request #1939 from Asheraf/zero_drop_packet
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.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index e0d856986..cfeb3a67d 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, @@ -498,6 +500,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 |