summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-04-06 22:46:51 -0400
committermekolat <mekolat@gmail.com>2015-04-06 22:46:51 -0400
commit34deaf57bed37f5a43f28e039ed7caa8bde65bb4 (patch)
tree028709dcbdb13ae69b6b5f85994f2d796772951c
parent92c2232a9e0160aff8d087086a4e14ec1e322c56 (diff)
downloadtmwa-34deaf57bed37f5a43f28e039ed7caa8bde65bb4.tar.gz
tmwa-34deaf57bed37f5a43f28e039ed7caa8bde65bb4.tar.bz2
tmwa-34deaf57bed37f5a43f28e039ed7caa8bde65bb4.tar.xz
tmwa-34deaf57bed37f5a43f28e039ed7caa8bde65bb4.zip
remove deprecated itemheal
-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 52b425a..b8cca26 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -413,20 +413,6 @@ void builtin_heal(ScriptState *st)
*------------------------------------------
*/
static
-void builtin_itemheal(ScriptState *st)
-{
- int hp, sp;
-
- hp = conv_num(st, &AARG(0));
- sp = conv_num(st, &AARG(1));
- pc_itemheal(script_rid2sd(st), hp, sp);
-}
-
-/*==========================================
- *
- *------------------------------------------
- */
-static
void builtin_input(ScriptState *st)
{
dumb_ptr<map_session_data> sd = nullptr;
@@ -2996,7 +2982,6 @@ BuiltinFunction builtin_functions[] =
BUILTIN(warp, "Mxy"_s, '\0'),
BUILTIN(areawarp, "MxyxyMxy"_s, '\0'),
BUILTIN(heal, "ii"_s, '\0'),
- BUILTIN(itemheal, "ii"_s, '\0'),
BUILTIN(input, "N"_s, '\0'),
BUILTIN(if, "iF*"_s, '\0'),
BUILTIN(set, "Ne"_s, '\0'),