From 4147d9f7966e7ebd94811248527cc45af1e54941 Mon Sep 17 00:00:00 2001 From: panikon Date: Wed, 9 Apr 2014 19:34:29 -0300 Subject: Fixed issue: 7725 http://hercules.ws/board/tracker/issue-7725-disguise-hide-skill-bug/ Fixed issue: 8027 http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills/ Fixed issue where @at showed it failed when it succeeded --- src/map/pc.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 42b79ed92..848238ed2 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1758,6 +1758,13 @@ int pc_disguise(struct map_session_data *sd, int class_) { status->set_viewdata(&sd->bl, class_); clif->changeoption(&sd->bl); + // We need to update the client so it knows that a costume is being used + if( sd->sc.option&OPTION_COSTUME ) { + clif->changelook(&sd->bl,LOOK_BASE,sd->vd.class_); + clif->changelook(&sd->bl,LOOK_WEAPON,0); + clif->changelook(&sd->bl,LOOK_SHIELD,0); + clif->changelook(&sd->bl,LOOK_CLOTHES_COLOR,sd->vd.cloth_color); + } if (sd->bl.prev != NULL) { clif->spawn(&sd->bl); -- cgit v1.2.3-60-g2f50