summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/atcommand.c2
-rw-r--r--src/map/chrif.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 7c54336f2..1e0139286 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7728,7 +7728,7 @@ atcommand_changesex(
const char* command, const char* message)
{
nullpo_retr(-1, sd);
- chrif_changesex(sd->status.account_id, ((sd->status.sex+1)%2));
+ chrif_char_ask_name(sd->status.account_id,sd->status.name, 5,0,0,0,0,0,0);
return 0;
}
diff --git a/src/map/chrif.c b/src/map/chrif.c
index bc5392b22..62e6e8953 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -434,7 +434,7 @@ int chrif_changesex(int id, int sex) {
if (char_fd < 1 )
return -1;
- WFIFOW(char_fd,0) = 0x3000;
+ WFIFOW(char_fd,0) = 0x2b11;
WFIFOW(char_fd,2) = 9;
WFIFOL(char_fd,4) = id;
WFIFOB(char_fd,8) = sex;