summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-10 17:44:29 -0200
committershennetsind <ind@henn.et>2014-02-10 17:44:29 -0200
commitd7067dcce1b44bff709108b9af088490b3819c35 (patch)
tree4383f8ae654352f0d06864ad217019796dbb457e /src/map/packets_struct.h
parent64344c36a7669051e30d7ecd141f19222e2889bb (diff)
downloadhercules-d7067dcce1b44bff709108b9af088490b3819c35.tar.gz
hercules-d7067dcce1b44bff709108b9af088490b3819c35.tar.bz2
hercules-d7067dcce1b44bff709108b9af088490b3819c35.tar.xz
hercules-d7067dcce1b44bff709108b9af088490b3819c35.zip
Fixed Bug 8017
Would happen on 2014-onwards clients due to the placeholder packetver of 20140000 http://hercules.ws/board/tracker/issue-8017-monster-hp-bar-does-not-update/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 4a599463a..a150ef6e2 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -36,7 +36,7 @@ enum packet_headers {
idle_unitType = 0x2ee,
#elif PACKETVER < 20101124
idle_unitType = 0x7f9,
-#elif PACKETVER < 20140000 //actual 20120221
+#elif PACKETVER < 20150000 //actual 20120221
idle_unitType = 0x857,
#else
idle_unitType = 0x915,
@@ -69,7 +69,7 @@ enum packet_headers {
spawn_unitType = 0x2ed,
#elif PACKETVER < 20101124
spawn_unitType = 0x7f8,
-#elif PACKETVER < 20140000 //actual 20120221
+#elif PACKETVER < 20150000 //actual 20120221
spawn_unitType = 0x858,
#else
spawn_unitType = 0x90f,
@@ -92,7 +92,7 @@ enum packet_headers {
unit_walkingType = 0x2ec,
#elif PACKETVER < 20101124
unit_walkingType = 0x7f7,
-#elif PACKETVER < 20140000 //actual 20120221
+#elif PACKETVER < 20150000 //actual 20120221
unit_walkingType = 0x856,
#else
unit_walkingType = 0x914,
@@ -456,7 +456,7 @@ struct packet_spawn_unit {
#if PACKETVER >= 20080102
short font;
#endif
-#if PACKETVER >= 20140000 //actual 20120221
+#if PACKETVER >= 20150000 //actual 20120221
int maxHP;
int HP;
unsigned char isBoss;
@@ -517,7 +517,7 @@ struct packet_unit_walking {
#if PACKETVER >= 20080102
short font;
#endif
-#if PACKETVER >= 20140000 //actual 20120221
+#if PACKETVER >= 20150000 //actual 20120221
int maxHP;
int HP;
unsigned char isBoss;
@@ -576,7 +576,7 @@ struct packet_idle_unit {
#if PACKETVER >= 20080102
short font;
#endif
-#if PACKETVER >= 20140000 //actual 20120221
+#if PACKETVER >= 20150000 //actual 20120221
int maxHP;
int HP;
unsigned char isBoss;