summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-10-21 20:44:19 +0200
committerGitHub <noreply@github.com>2018-10-21 20:44:19 +0200
commitf275d6a7d432953d2af6b9c0fe897be5e7657e1c (patch)
tree309c8d93381cf7a7314eaba765b4f9869c2841de /src
parentbfea70b8f5b7e9fe266f08a4944f5b637da90ad2 (diff)
parent48ecab89acec46a6b50aad45be1a689089bf977b (diff)
downloadhercules-f275d6a7d432953d2af6b9c0fe897be5e7657e1c.tar.gz
hercules-f275d6a7d432953d2af6b9c0fe897be5e7657e1c.tar.bz2
hercules-f275d6a7d432953d2af6b9c0fe897be5e7657e1c.tar.xz
hercules-f275d6a7d432953d2af6b9c0fe897be5e7657e1c.zip
Merge pull request #2252 from Asheraf/pr4
fix PACKET_ZC_PROPERTY_HOMUN size for old clients
Diffstat (limited to 'src')
-rw-r--r--src/map/packets_struct.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 29a3355f7..9248d96c8 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;