From 2cd97f154f781bee35f47d884af47de396a7877e Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 17 May 2013 16:45:56 -0300 Subject: Fixed Bug #7171 Item #2 http://hercules.ws/board/tracker/issue-7171-fontcolor-error/ Special Thanks to Beret~! Signed-off-by: shennetsind --- src/map/pc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 644a296cf..55ce993b4 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1642,8 +1642,12 @@ int pc_disguise(struct map_session_data *sd, int class_) { } if (sd->bl.prev != NULL) { - pc_stop_walking(sd, 0); - clif->clearunit_area(&sd->bl, CLR_OUTSIGHT); + if( class_ == -1 && sd->disguise == sd->status.class_ ) { + clif->clearunit_single(-sd->bl.id,CLR_OUTSIGHT,sd->fd); + } else if ( class_ != sd->status.class_ ) { + pc_stop_walking(sd, 0); + clif->clearunit_area(&sd->bl, CLR_OUTSIGHT); + } } if (class_ == -1) { -- cgit v1.2.3-60-g2f50