From 49509d2f746b7a8d50e685cfd0e0b391676b9466 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 1 Jul 2018 12:31:49 +0200 Subject: Log deprecated Lua function calls (#7491) --- src/script/lua_api/l_object.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 76b8bc4a4..6876ea512 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -50,9 +50,8 @@ public: static ServerActiveObject* getobject(ObjectRef *ref); private: ServerActiveObject *m_object = nullptr; - static const char className[]; - static const luaL_Reg methods[]; + static luaL_Reg methods[]; static LuaEntitySAO* getluaobject(ObjectRef *ref); -- cgit v1.2.3