diff options
author | Asheraf <acheraf1998@gmail.com> | 2018-10-03 13:21:34 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-10-03 13:21:34 +0100 |
commit | 48ecab89acec46a6b50aad45be1a689089bf977b (patch) | |
tree | 83bbc9e3776f1e13539da04783b9897b89e769dc /src/map/packets_struct.h | |
parent | 852c13305f67948531bd0277eb1922dbd02b1f26 (diff) | |
download | hercules-48ecab89acec46a6b50aad45be1a689089bf977b.tar.gz hercules-48ecab89acec46a6b50aad45be1a689089bf977b.tar.bz2 hercules-48ecab89acec46a6b50aad45be1a689089bf977b.tar.xz hercules-48ecab89acec46a6b50aad45be1a689089bf977b.zip |
fix PACKET_ZC_PROPERTY_HOMUN size for old clients
this bug was introduced in eb54c762a3e9ca00fab5ff94a082861e1b70c0e0
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index af76a66d7..a41cb2be7 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -2274,8 +2274,13 @@ struct PACKET_ZC_PROPERTY_HOMUN { uint16 mdef; uint16 flee; uint16 amotion; +#if PACKETVER < 20150513 + uint16 hp; + uint16 maxHp; +#else uint32 hp; uint32 maxHp; +#endif uint16 sp; uint16 maxSp; uint32 exp; |