diff options
author | mekolat <mekolat@gmail.com> | 2015-04-05 17:42:57 -0400 |
---|---|---|
committer | mekolat <mekolat@gmail.com> | 2015-04-05 17:42:57 -0400 |
commit | 6386c30dc06a5fdf739ed26abe4c706a8eddb62e (patch) | |
tree | 91de4b705dcea5119840f97f2097a8e113cf6f30 /src/map/script-fun.cpp | |
parent | 6f4699ff0c6400a2adc5e4008b2e289737f4a303 (diff) | |
download | tmwa-6386c30dc06a5fdf739ed26abe4c706a8eddb62e.tar.gz tmwa-6386c30dc06a5fdf739ed26abe4c706a8eddb62e.tar.bz2 tmwa-6386c30dc06a5fdf739ed26abe4c706a8eddb62e.tar.xz tmwa-6386c30dc06a5fdf739ed26abe4c706a8eddb62e.zip |
remove deprecated cmdothernpc
Diffstat (limited to 'src/map/script-fun.cpp')
-rw-r--r-- | src/map/script-fun.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp index 8c25266..6798a74 100644 --- a/src/map/script-fun.cpp +++ b/src/map/script-fun.cpp @@ -2214,15 +2214,6 @@ void builtin_mapwarp(ScriptState *st) // Added by RoVeRT } static -void builtin_cmdothernpc(ScriptState *st) // Added by RoVeRT -{ - NpcName npc = stringish<NpcName>(ZString(conv_str(st, &AARG(0)))); - ZString command = ZString(conv_str(st, &AARG(1))); - - npc_command(map_id2sd(st->rid), npc, command); -} - -static void builtin_mobcount_sub(dumb_ptr<block_list> bl, NpcEvent event, int *c) { if (event == bl->is_mob()->npc_event) @@ -3080,7 +3071,6 @@ BuiltinFunction builtin_functions[] = BUILTIN(pvpoff, "M"_s, '\0'), BUILTIN(emotion, "i"_s, '\0'), BUILTIN(mapwarp, "MMxy"_s, '\0'), - BUILTIN(cmdothernpc, "ss"_s, '\0'), BUILTIN(mobcount, "ME"_s, 'i'), BUILTIN(marriage, "P"_s, 'i'), BUILTIN(divorce, ""_s, 'i'), |