From 34deaf57bed37f5a43f28e039ed7caa8bde65bb4 Mon Sep 17 00:00:00 2001 From: mekolat Date: Mon, 6 Apr 2015 22:46:51 -0400 Subject: remove deprecated itemheal --- src/map/script-fun.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src') 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 @@ -408,20 +408,6 @@ void builtin_heal(ScriptState *st) pc_heal(script_rid2sd(st), hp, sp); } -/*========================================== - * - *------------------------------------------ - */ -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); -} - /*========================================== * *------------------------------------------ @@ -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'), -- cgit v1.2.3-70-g09d2