OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e080b8
)
アーティファクト生成の時、鑑定してないアイテムに使った時にもアイテムのデータが表示されるように、identify_fully_auxを呼ぶ前にアイテムを*鑑定*された状態...
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 22 Feb 2002 08:30:52 +0000
(08:30 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 22 Feb 2002 08:30:52 +0000
(08:30 +0000)
src/artifact.c
patch
|
blob
|
history
diff --git
a/src/artifact.c
b/src/artifact.c
index
5f09ba1
..
1066a22
100644
(file)
--- a/
src/artifact.c
+++ b/
src/artifact.c
@@
-1715,6
+1715,13
@@
bool create_artifact(object_type *o_ptr, bool a_scroll)
if (a_scroll)
{
char dummy_name[80];
+ /* Identify it fully */
+ object_aware(o_ptr);
+ object_known(o_ptr);
+
+ /* Mark the item as fully known */
+ o_ptr->ident |= (IDENT_MENTAL);
+
strcpy(dummy_name, "");
(void)identify_fully_aux(o_ptr);
@@
-1743,12
+1750,6
@@
bool create_artifact(object_type *o_ptr, bool a_scroll)
#endif
}
- /* Identify it fully */
- object_aware(o_ptr);
- object_known(o_ptr);
-
- /* Mark the item as fully known */
- o_ptr->ident |= (IDENT_MENTAL);
chg_virtue(V_INDIVIDUALISM, 2);
chg_virtue(V_ENCHANT, 5);