aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api/phys/bphysbuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/lua_api/phys/bphysbuffer.cpp')
-rw-r--r--src/shared/lua_api/phys/bphysbuffer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/lua_api/phys/bphysbuffer.cpp b/src/shared/lua_api/phys/bphysbuffer.cpp
index 111b159..074f506 100644
--- a/src/shared/lua_api/phys/bphysbuffer.cpp
+++ b/src/shared/lua_api/phys/bphysbuffer.cpp
@@ -27,11 +27,11 @@ using namespace video;
extern btDiscreteDynamicsWorld* World;
extern core::list<btRigidBody*> Objects;
-static LBPhysNode* checkisbphysmodel(lua_State* L, int index){
- void* ud = luaL_checkudata(L,index,"phys.physmodel");
- luaL_argcheck(L,ud != NULL, index, "'phys.physmodel' expected");
- return (LBPhysNode*) ud;
-}
+//static LBPhysNode* checkisbphysmodel(lua_State* L, int index){
+ //void* ud = luaL_checkudata(L,index,"phys.physmodel");
+ //luaL_argcheck(L,ud != NULL, index, "'phys.physmodel' expected");
+ //return (LBPhysNode*) ud;
+//}
//iscenecamera.new(Vector position, Vector lookat, parrent)
// {} {} 0 1