Преглед изворни кода

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 пре 9 година
родитељ
комит
0664fac298
1 измењених фајлова са 2 додато и 0 уклоњено
  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: