summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 40cb81e93..e5994c0e3 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -6346,8 +6346,12 @@ int buildin_changebase(struct script_state *st)
return 0;
}
- if(!sd->disguise && vclass != sd->vd.class_)
+ if(!sd->disguise && vclass != sd->vd.class_) {
status_set_viewdata(&sd->bl, vclass);
+ clif_changelook(&sd->bl,LOOK_BASE,sd->vd.class_);
+ if (sd->vd.cloth_color)
+ clif_changelook(&sd->bl,LOOK_CLOTHES_COLOR,sd->vd.cloth_color);
+ }
return 0;
}