summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_object.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-22 18:01:56 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-22 18:01:56 +0100
commit008d7e0467a30f78e0c1a707be0c34aaa884732c (patch)
tree53e90fc4eca8585e473b8a459100362f3ba45fd3 /src/script/lua_api/l_object.h
parent61f2d0ca3417b2a18a60015bf5423629d81bb754 (diff)
downloadminetest-008d7e0467a30f78e0c1a707be0c34aaa884732c.tar.gz
minetest-008d7e0467a30f78e0c1a707be0c34aaa884732c.tar.bz2
minetest-008d7e0467a30f78e0c1a707be0c34aaa884732c.zip
Revert "Add a Lua call to do damages / heals" ok @ShadowNinja
This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r--src/script/lua_api/l_object.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h
index 94b07070c..d51ca379f 100644
--- a/src/script/lua_api/l_object.h
+++ b/src/script/lua_api/l_object.h
@@ -83,12 +83,6 @@ private:
// 0 if not applicable to this type of object
static int l_get_hp(lua_State *L);
- // apply_damage(self, damage)
- // damage = amount of damage to apply
- // if damage is negative, heal the player
- // returns: nil
- static int l_apply_damage(lua_State *L);
-
// get_inventory(self)
static int l_get_inventory(lua_State *L);