diff options
| author | Alexander Pickering <alex@cogarr.net> | 2018-09-23 16:08:55 -0400 |
|---|---|---|
| committer | Alexander Pickering <alex@cogarr.net> | 2018-09-23 16:08:55 -0400 |
| commit | 2aa18a785dc77fec53513895f5e3361c37401fe2 (patch) | |
| tree | c6ad838f6a6cfbb7fd0c6137d0ef7ffc59762904 /src/client/lua_api | |
| parent | 921cfb8d147aea751bb494b4a88efe4cb75daa68 (diff) | |
| download | brokengine-2aa18a785dc77fec53513895f5e3361c37401fe2.tar.gz brokengine-2aa18a785dc77fec53513895f5e3361c37401fe2.tar.bz2 brokengine-2aa18a785dc77fec53513895f5e3361c37401fe2.zip | |
cbphysbox now uses generic functions
cbphysbox now uses the functions defined in bphysgeneric
Diffstat (limited to 'src/client/lua_api')
| -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 |
