summaryrefslogtreecommitdiff
path: root/src/map/clif.c
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/clif.c
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/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 15b546cc5..83a3c37bd 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -986,7 +986,7 @@ void clif_set_unit_idle(struct block_list* bl, struct map_session_data *tsd, enu
#if PACKETVER >= 20080102
p.font = (sd) ? sd->status.font : 0;
#endif
-#if PACKETVER >= 20140000 //actual 20120221
+#if PACKETVER >= 20150000 //actual 20120221
if( bl->type == BL_MOB ) {
p.maxHP = status_get_max_hp(bl);
p.HP = status_get_hp(bl);
@@ -1116,7 +1116,7 @@ void clif_spawn_unit(struct block_list* bl, enum send_target target) {
#if PACKETVER >= 20080102
p.font = (sd) ? sd->status.font : 0;
#endif
-#if PACKETVER >= 20140000 //actual 20120221
+#if PACKETVER >= 20150000 //actual 20120221
if( bl->type == BL_MOB ) {
p.maxHP = status_get_max_hp(bl);
p.HP = status_get_hp(bl);
@@ -1197,7 +1197,7 @@ void clif_set_unit_walking(struct block_list* bl, struct map_session_data *tsd,
#if PACKETVER >= 20080102
p.font = (sd) ? sd->status.font : 0;
#endif
-#if PACKETVER >= 20140000 //actual 20120221
+#if PACKETVER >= 20150000 //actual 20120221
if( bl->type == BL_MOB ) {
p.maxHP = status_get_max_hp(bl);
p.HP = status_get_hp(bl);