summaryrefslogtreecommitdiff
path: root/src/map/script-fun.cpp
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-04-29 22:42:04 -0500
committerWushin <pasekei@gmail.com>2015-04-29 22:42:04 -0500
commitf3c12939d5ba0dcbc4dcca4bb0384a55d776b2c8 (patch)
treeaff755e961e1a0fbcc9d7f1d0bde2d93b4800dc0 /src/map/script-fun.cpp
parentc7f0a0dbb9fe0cb42b0516ae1d4d60f72bd4ebb5 (diff)
parentf6bc49ce199bf3c60f2c319698f84d9064dd8616 (diff)
downloadtmwa-f3c12939d5ba0dcbc4dcca4bb0384a55d776b2c8.tar.gz
tmwa-f3c12939d5ba0dcbc4dcca4bb0384a55d776b2c8.tar.bz2
tmwa-f3c12939d5ba0dcbc4dcca4bb0384a55d776b2c8.tar.xz
tmwa-f3c12939d5ba0dcbc4dcca4bb0384a55d776b2c8.zip
Merge pull request #58 from mekolat/changesex
change sex without disconnecting
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r--src/map/script-fun.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index 17fe943..af6a9f2 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のアタッチ
*------------------------------------------
*/
@@ -3178,7 +3164,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'),