OSDN Git Service

[Refactor] #37353 引数の型を統一 / Unified types of arguments
[hengband/hengband.git] / src / object1.c
index 5b946d1..bff109c 100644 (file)
@@ -248,7 +248,7 @@ void object_flags_known(object_type *o_ptr, BIT_FLAGS flgs[TR_FLAG_SIZE])
                }
        }
 
-       if (spoil || (o_ptr->ident & IDENT_MENTAL))
+       if (spoil || OBJECT_IS_FULL_KNOWN(o_ptr))
        {
                if (object_is_fixed_artifact(o_ptr))
                {