summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/map/script.cpp b/src/map/script.cpp
index 07a1ea1..a3aeb7b 100644
--- a/src/map/script.cpp
+++ b/src/map/script.cpp
@@ -3093,16 +3093,6 @@ void builtin_changesex(ScriptState *st)
dumb_ptr<map_session_data> sd = NULL;
sd = script_rid2sd(st);
- if (sd->status.sex == SEX::FEMALE)
- {
- sd->status.sex = SEX::MALE;
- sd->sex = SEX::MALE;
- }
- else if (sd->status.sex == SEX::MALE)
- {
- sd->status.sex = SEX::FEMALE;
- sd->sex = SEX::FEMALE;
- }
chrif_char_ask_name(-1, sd->status.name, 5, HumanTimeDiff()); // type: 5 - changesex
chrif_save(sd);
}