Explorar el Código

Fixed Garment/Robe disappearing on player movement (fixes #1036)
* Garment/Robe will no longer be removed from display of other players in sight when the wearer player walks.

aleos89 hace 9 años
padre
commit
0664fac298
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/map/clif.c

+ 2 - 0
src/map/clif.c

@@ -1710,6 +1710,8 @@ static void clif_move2(struct block_list *bl, struct view_data *vd, struct unit_
 				clif_specialeffect(&sd->bl,423,AREA);
 			else if(sd->state.size==SZ_MEDIUM)
 				clif_specialeffect(&sd->bl,421,AREA);
+			if (sd->status.robe)
+				clif_refreshlook(bl,bl->id,LOOK_ROBE,sd->status.robe,AREA);
 		}
 		break;
 	case BL_MOB: