aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api
diff options
context:
space:
mode:
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