From 5ebb4237e204bfa760313f6f2a46a09dceb9cce0 Mon Sep 17 00:00:00 2001 From: Elia Argentieri Date: Thu, 25 Jun 2015 14:57:10 +0200 Subject: Added get_player_velocity() method. Fixes #1176 --- src/script/lua_api/l_object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_object.h') diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index 9e4a62058..a4457cc05 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -183,6 +183,9 @@ private: // get_player_name(self) static int l_get_player_name(lua_State *L); + // get_player_velocity(self) + static int l_get_player_velocity(lua_State *L); + // get_look_dir(self) static int l_get_look_dir(lua_State *L); -- cgit v1.2.3