remove unused "type"

This commit is contained in:
Glenn Maynard
2006-10-06 01:18:23 +00:00
parent c72ae3bad7
commit 04b34020fb
-3
View File
@@ -109,9 +109,6 @@ void LuaBinding::Register( lua_State *L )
lua_pushstring( L, GetClassName() );
lua_setfield( L, methods_metatable, "class" );
lua_pushstring( L, GetClassName() );
lua_setfield( L, metatable, "type" );
lua_pushstring( L, GetClassName() );
LuaHelpers::PushValueFunc( L, 1 );
lua_setfield( L, metatable, "__type" ); // for luaL_pushtype