OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2042f9
)
[Refactor] 使われていないプリプロSPOIL_ARTIFACTS と SPOIL_EGO_ITEMS を削除 / Removed unused preproce...
author
Hourier
<hourier@users.sourceforge.jp>
Fri, 14 Feb 2020 12:23:09 +0000
(21:23 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Fri, 14 Feb 2020 12:23:09 +0000
(21:23 +0900)
src/object1.c
patch
|
blob
|
history
diff --git
a/src/object1.c
b/src/object1.c
index
63d39ac
..
7be5598
100644
(file)
--- a/
src/object1.c
+++ b/
src/object1.c
@@
-276,17
+276,6
@@
void object_flags_known(object_type *o_ptr, BIT_FLAGS flgs[TR_FLAG_SIZE])
}
}
-
-#ifdef SPOIL_ARTIFACTS
- /* Full knowledge for some artifacts */
- if (object_is_artifact(o_ptr)) spoil = TRUE;
-#endif /* SPOIL_ARTIFACTS */
-
-#ifdef SPOIL_EGO_ITEMS
- /* Full knowledge for some ego-items */
- if (object_is_ego(o_ptr)) spoil = TRUE;
-#endif /* SPOIL_EGO_ITEMS */
-
/* Need full knowledge or spoilers */
if (spoil || (o_ptr->ident & IDENT_MENTAL))
{