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:
4fab351
)
[Fix] #40051 item_tester_tvalのリセットを追加して呪文学習後のアイテム処理ミスを修正. / Add reset of item_tester_...
author
deskull
<deskull@users.sourceforge.jp>
Sun, 8 Mar 2020 12:08:25 +0000
(21:08 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Sun, 8 Mar 2020 12:08:25 +0000
(21:08 +0900)
src/cmd/cmd-spell.c
patch
|
blob
|
history
diff --git
a/src/cmd/cmd-spell.c
b/src/cmd/cmd-spell.c
index
5a88587
..
1b628f3
100644
(file)
--- a/
src/cmd/cmd-spell.c
+++ b/
src/cmd/cmd-spell.c
@@
-802,6
+802,8
@@
void do_cmd_study(player_type *caster_ptr)
s = _("読める本がない。", "You have no books that you can read.");
o_ptr = choose_object(caster_ptr, &item, q, s, (USE_INVEN | USE_FLOOR), item_tester_tval);
+
+ item_tester_tval = NULL;
if (!o_ptr) return;
/* Access the item's sval */