diff options
author | aleos <aleos@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-26 20:13:36 +0000 |
---|---|---|
committer | aleos <aleos@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-26 20:13:36 +0000 |
commit | 80ec4aa63979e6e97acff4386552060a79789dff (patch) | |
tree | f1bae9b76d28b4c8f73dabf1c62bdfa06470d2f0 | |
parent | 5dc4b0231db1b45e01a4576250ce2c4497da382c (diff) | |
download | hercules-80ec4aa63979e6e97acff4386552060a79789dff.tar.gz hercules-80ec4aa63979e6e97acff4386552060a79789dff.tar.bz2 hercules-80ec4aa63979e6e97acff4386552060a79789dff.tar.xz hercules-80ec4aa63979e6e97acff4386552060a79789dff.zip |
Fixed Elemental HP/SP bar not being displayed to the client after being warped to master when HP/SP is full. (bugreport:5636)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17045 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/elemental.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/elemental.c b/src/map/elemental.c index 026dd75a4..4d9121575 100644 --- a/src/map/elemental.c +++ b/src/map/elemental.c @@ -694,6 +694,8 @@ static int elemental_ai_sub_timer(struct elemental_data *ed, struct map_session_ if( master_dist > AREA_SIZE ) { // Master out of vision range. elemental_unlocktarget(ed); unit_warp(&ed->bl,sd->bl.m,sd->bl.x,sd->bl.y,CLR_TELEPORT); + clif_elemental_updatestatus(sd,SP_HP); + clif_elemental_updatestatus(sd,SP_SP); return 0; } else if( master_dist > MAX_ELEDISTANCE ) { // Master too far, chase. short x = sd->bl.x, y = sd->bl.y; |