summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-26 22:41:09 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-26 22:41:09 +0000
commita81c829b99bfd0ace0fa49c682cc0e04e2711dbe (patch)
tree5480901e9b59a44361662656c8ae8112384a1985
parent9828447cdb1ba910fc48eb58a278e2e816aeed84 (diff)
downloadhercules-a81c829b99bfd0ace0fa49c682cc0e04e2711dbe.tar.gz
hercules-a81c829b99bfd0ace0fa49c682cc0e04e2711dbe.tar.bz2
hercules-a81c829b99bfd0ace0fa49c682cc0e04e2711dbe.tar.xz
hercules-a81c829b99bfd0ace0fa49c682cc0e04e2711dbe.zip
Fixed mercenary info not being re-sent after using @refresh (bugreport:2335).
Patch provided by [Diablo]. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14033 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/clif.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index a3f9968e2..71df80b36 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7233,6 +7233,11 @@ int clif_refresh(struct map_session_data *sd)
clif_refreshlook(&sd->bl,sd->bl.id,LOOK_CLOTHES_COLOR,sd->vd.cloth_color,SELF);
if(merc_is_hom_active(sd->hd))
clif_send_homdata(sd,0,0);
+ if( sd->md )
+ {
+ clif_mercenary_info(sd);
+ clif_mercenary_skillblock(sd);
+ }
map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd);
clif_weather_check(sd);
if( pc_issit(sd) )