Esempio n. 1
0
/**
 * 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;
}
Esempio n. 2
0
/**
 * 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;
}
Esempio n. 3
0
/**
 * 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;
}