}
o_ptr->xtra3 = 0;
object_flags(creature_ptr, o_ptr, flgs);
- if (!(have_pval_flags(flgs)))
+ if (!(has_pval_flags(flgs)))
o_ptr->pval = 0;
msg_print(_("エッセンスを取り去った。", "You removed all essence you have added."));
creature_ptr->update |= (PU_COMBINE | PU_REORDER);
static void describe_pval(flavor_type *flavor_ptr)
{
- if (!have_pval_flags(flavor_ptr->tr_flags))
+ if (!has_pval_flags(flavor_ptr->tr_flags))
return;
flavor_ptr->t = object_desc_chr(flavor_ptr->t, ' ');
#define add_flag(ARRAY, INDEX) ((ARRAY)[(INDEX) / 32] |= (1L << ((INDEX) % 32)))
#define remove_flag(ARRAY, INDEX) ((ARRAY)[(INDEX) / 32] &= ~(1L << ((INDEX) % 32)))
#define is_pval_flag(INDEX) ((TR_STR <= (INDEX) && (INDEX) <= TR_MAGIC_MASTERY) || (TR_STEALTH <= (INDEX) && (INDEX) <= TR_BLOWS))
-#define have_pval_flags(ARRAY) !!((ARRAY)[0] & (0x00003f7f))
+#define has_pval_flags(ARRAY) !!((ARRAY)[0] & (0x00003f7f))