diff options
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 1adff1ad9..2d6199207 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2829,11 +2829,11 @@ int clif_changelook(struct block_list *bl,int type,int val) vd->class_ = val;
if (vd->class_ == JOB_WEDDING || vd->class_ == JOB_XMAS)
vd->weapon = vd->shield = 0;
- if (
+ if (vd->cloth_color && (
(vd->class_ == JOB_WEDDING && battle_config.wedding_ignorepalette) ||
(vd->class_ == JOB_XMAS && battle_config.xmas_ignorepalette)
- )
- vd->cloth_color = 0;
+ ))
+ clif_changelook(bl,LOOK_CLOTHES_COLOR,0);
break;
case LOOK_HAIR:
vd->hair_style = val;
@@ -8613,7 +8613,7 @@ void clif_parse_GetCharNameRequest(int fd, struct map_session_data *sd) { sc = status_get_sc(bl);
if (sc && (
(sc->option&(OPTION_HIDE|OPTION_CLOAK|OPTION_CHASEWALK) && !sd->special_state.intravision) ||
- sc->option&OPTION_INVISIBLE)
+ (sc->option&OPTION_INVISIBLE && !disguised(bl)))
) {
//Asked name of invisible player, this shouldn't be possible!
//Possible bot? Thanks to veider and qspirit
|