aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-11-07 14:49:35 -0500
committerAlexander Pickering <alex@cogarr.net>2018-11-07 14:50:58 -0500
commit2009501214f3c2e3f8d8b1a06432afdf39276bd5 (patch)
treec6c091a4b6f3f714657930cda4fd485ee1dd3d95 /src/client/lua_api
parent112517494847f0c86f58544cbf4c35c9b7712ab1 (diff)
downloadbrokengine-2009501214f3c2e3f8d8b1a06432afdf39276bd5.tar.gz
brokengine-2009501214f3c2e3f8d8b1a06432afdf39276bd5.tar.bz2
brokengine-2009501214f3c2e3f8d8b1a06432afdf39276bd5.zip
Added Kinematic Character Controllers
Diffstat (limited to 'src/client/lua_api')
-rw-r--r--src/client/lua_api/load_cphys.cpp4
-rw-r--r--src/client/lua_api/load_cphys.hpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/client/lua_api/load_cphys.cpp b/src/client/lua_api/load_cphys.cpp
index b38b84d..ed81408 100644
--- a/src/client/lua_api/load_cphys.cpp
+++ b/src/client/lua_api/load_cphys.cpp
@@ -40,9 +40,7 @@ int raytest(lua_State *L){
return 1;
}
-void load_physfuncs(lua_State* L){
- lua_newtable(L);//{}
- lua_setglobal(L,"phys");//
+void load_cphysfuncs(lua_State* L){
//phys things
cbphysbox_register(L);
diff --git a/src/client/lua_api/load_cphys.hpp b/src/client/lua_api/load_cphys.hpp
index 7ee07fe..5afd102 100644
--- a/src/client/lua_api/load_cphys.hpp
+++ b/src/client/lua_api/load_cphys.hpp
@@ -10,5 +10,5 @@ extern "C" {
}
#include <irrlicht.h>
-void load_physfuncs(lua_State* L);
+void load_cphysfuncs(lua_State* L);
#endif