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:
d2d4129
)
[Fix] #39061 *鑑定*フラグを立てたあとにインベントリのCOMBINEとREORDERが発生して、情報表示と自動破壊適用の対象がずれるのを修正。 /...
author
iks
<iks@users.sorceforge.jp>
Thu, 12 Nov 2020 13:22:15 +0000
(22:22 +0900)
committer
iks
<iks@users.sorceforge.jp>
Sat, 21 Nov 2020 20:28:18 +0000
(
05:28
+0900)
src/spell-kind/spells-perception.c
patch
|
blob
|
history
diff --git
a/src/spell-kind/spells-perception.c
b/src/spell-kind/spells-perception.c
index
ce70a11
..
ef94297
100644
(file)
--- a/
src/spell-kind/spells-perception.c
+++ b/
src/spell-kind/spells-perception.c
@@
-179,7
+179,11
@@
bool identify_fully(player_type *caster_ptr, bool only_equip, tval_type item_tes
bool old_known = identify_item(caster_ptr, o_ptr);
o_ptr->ident |= (IDENT_FULL_KNOWN);
+
+ /* Refrect item informaiton onto subwindows without updating inventory */
+ caster_ptr->update &= ~(PU_COMBINE | PU_REORDER);
handle_stuff(caster_ptr);
+ caster_ptr->update |= (PU_COMBINE | PU_REORDER);
GAME_TEXT o_name[MAX_NLEN];
describe_flavor(caster_ptr, o_name, o_ptr, 0);