Browse Source

Fixed mercenary info not being re-sent after using @refresh (bugreport:2335).
Patch provided by [Diablo].

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14033 54d463be-8e91-2dee-dedb-b68131a5f0ec

ultramage 16 years ago
parent
commit
e6ee176e74
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/map/clif.c

+ 5 - 0
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) )