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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index bbaa5f6ed..5773457a7 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -19158,7 +19158,8 @@ BUILDIN(setunitdata)
nd->status.dmotion = (unsigned short) val;
break;
case UDT_SEX:
- nd->vd.sex = (char) val;
+ nd->vd.sex = (char)val;
+ npc->refresh(nd);
break;
case UDT_HAIRSTYLE:
clif->changelook(bl, LOOK_HAIR, val);