diff options
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/lua_api/phys/cbphysbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/lua_api/phys/cbphysbox.cpp b/src/client/lua_api/phys/cbphysbox.cpp index 94d199f..e2986f4 100644 --- a/src/client/lua_api/phys/cbphysbox.cpp +++ b/src/client/lua_api/phys/cbphysbox.cpp @@ -16,6 +16,8 @@ extern "C" { #include "../scene/igeneric.hpp" #include <shared/lua_api/common.hpp> +#include "bphysgeneric.hpp" + using namespace irr; using namespace scene; using namespace core; @@ -163,6 +165,7 @@ void cbphysbox_register(lua_State* L){ luaL_getmetatable(L,"phys.physbox");//phys.physbox lua_newtable(L);//phys.physbox,{} + luaL_register(L,NULL,brigidbody_m); luaL_register(L,NULL,cbphysbox_m);//phys.physbox,{} lua_setfield(L,-2,"__index");//phys.physbox |
