diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-12-02 11:51:41 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-12-02 11:51:41 +0200 |
commit | e8b0722137b47b9b17cef94a9a9f0f52d03f4ea8 (patch) | |
tree | 6dee9b82a6569104630056d902e77cca5fbda2a4 /src/scriptapi.h | |
parent | ed128fff263432f46cfbbc90657682b3c2c17132 (diff) | |
download | minetest-e8b0722137b47b9b17cef94a9a9f0f52d03f4ea8.tar.gz minetest-e8b0722137b47b9b17cef94a9a9f0f52d03f4ea8.tar.bz2 minetest-e8b0722137b47b9b17cef94a9a9f0f52d03f4ea8.zip |
Add time_from_last_punch to Lua API
Diffstat (limited to 'src/scriptapi.h')
-rw-r--r-- | src/scriptapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scriptapi.h b/src/scriptapi.h index fe9329d75..2baf6f836 100644 --- a/src/scriptapi.h +++ b/src/scriptapi.h @@ -83,7 +83,7 @@ void scriptapi_luaentity_get_properties(lua_State *L, u16 id, LuaEntityProperties *prop); void scriptapi_luaentity_step(lua_State *L, u16 id, float dtime); void scriptapi_luaentity_punch(lua_State *L, u16 id, - ServerActiveObject *puncher); + ServerActiveObject *puncher, float time_from_last_punch); void scriptapi_luaentity_rightclick(lua_State *L, u16 id, ServerActiveObject *clicker); |