diff options
author | mekolat <mekolat@gmail.com> | 2015-04-16 18:50:36 -0400 |
---|---|---|
committer | mekolat <mekolat@gmail.com> | 2015-04-20 22:45:26 -0400 |
commit | 920e18c1b959780bbcea5d289c1c766239449776 (patch) | |
tree | 8c3abd4e7426e6eda48860d0746ebf51acdf7549 /src/map/script-fun.cpp | |
parent | 056aef958fb762526ba119379d46d5c2f1dd200c (diff) | |
download | tmwa-920e18c1b959780bbcea5d289c1c766239449776.tar.gz tmwa-920e18c1b959780bbcea5d289c1c766239449776.tar.bz2 tmwa-920e18c1b959780bbcea5d289c1c766239449776.tar.xz tmwa-920e18c1b959780bbcea5d289c1c766239449776.zip |
deprecate builtin changesex
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r-- | src/map/script-fun.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 3b814aa..65f8d2b 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -1987,20 +1987,6 @@ void builtin_resetstatus(ScriptState *st) } /*========================================== - * 性別変換 - *------------------------------------------ - */ -static -void builtin_changesex(ScriptState *st) -{ - dumb_ptr<map_session_data> sd = nullptr; - sd = script_rid2sd(st); - - chrif_char_ask_name(AccountId(), sd->status_key.name, 5, HumanTimeDiff()); // type: 5 - changesex - chrif_save(sd); -} - -/*========================================== * RIDのアタッチ *------------------------------------------ */ @@ -3167,7 +3153,6 @@ BuiltinFunction builtin_functions[] = BUILTIN(sc_check, "i"_s, 'i'), BUILTIN(debugmes, "s"_s, '\0'), BUILTIN(resetstatus, ""_s, '\0'), - BUILTIN(changesex, ""_s, '\0'), BUILTIN(attachrid, "i"_s, 'i'), BUILTIN(detachrid, ""_s, '\0'), BUILTIN(isloggedin, "i"_s, 'i'), |