lua/wrappers/game/lua_body_part.cpp
/**
	 * Releases body part reference counter.
	 */
Releases body part reference counter.
Releases body part reference counter .
int BodyPart_dtor(lua_State *lua)
	{
		BodyPart *part = castUData<BodyPart>(lua, 1);
		if (part)
		{
			part->release();
			return 0;
		}
		return LuaState::expectedContext(lua, "__gc", "am.body_part");
	}
int BodyPart_dtor ( lua_State * lua ) { BodyPart * part = castUData < BodyPart > ( lua , 1 ) ; if ( part ) { part -> release ( ) ; return 0 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Releases body part reference counter.
Releases body part reference counter .