From 48ecab89acec46a6b50aad45be1a689089bf977b Mon Sep 17 00:00:00 2001
From: Asheraf <acheraf1998@gmail.com>
Date: Wed, 3 Oct 2018 13:21:34 +0100
Subject: fix PACKET_ZC_PROPERTY_HOMUN size for old clients

this bug was introduced in eb54c762a3e9ca00fab5ff94a082861e1b70c0e0
---
 src/map/packets_struct.h | 5 +++++
 1 file changed, 5 insertions(+)

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;
-- 
cgit v1.2.3-70-g09d2