Added get_player_velocity() method. Fixes #1176

This commit is contained in:
Elia Argentieri
2015-06-25 14:57:10 +02:00
committed by est31
parent 7bbb9b066a
commit 5ebb4237e2
3 changed files with 92 additions and 72 deletions

View File

@@ -183,6 +183,9 @@ class ObjectRef : public ModApiBase {
// 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);