/** * Check if we have space for some of an item in the pack, optionally requiring * stacking */ bool inven_carry_okay(const struct object *obj) { return (inven_carry_num(obj, FALSE) == 0) ? FALSE : TRUE; }
/** * Check if we have space for some of an item in the pack, optionally requiring * stacking */ bool inven_carry_okay(const struct object *obj) { return (inven_carry_num(obj, false) == 0) ? false : true; }
/** * Check if we have space for some of an item in the pack, optionally requiring * stacking */ bool inven_carry_okay(const struct object *obj) { return inven_carry_num(obj, false) > 0; }