示例#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;
}
示例#2
0
文件: obj-gear.c 项目: fe051/angband
/**
 * 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;
}
示例#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;
}