diff options
Diffstat (limited to 'src/script/lua_api/l_clientobject.cpp')
-rw-r--r-- | src/script/lua_api/l_clientobject.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/script/lua_api/l_clientobject.cpp b/src/script/lua_api/l_clientobject.cpp index 70151ba40..521aba023 100644 --- a/src/script/lua_api/l_clientobject.cpp +++ b/src/script/lua_api/l_clientobject.cpp @@ -24,6 +24,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "object_properties.h" #include "util/pointedthing.h" +ClientActiveObject *ClientObjectRef::getClientActiveObject() +{ + return m_object; +} + ClientObjectRef *ClientObjectRef::checkobject(lua_State *L, int narg) { luaL_checktype(L, narg, LUA_TUSERDATA); |