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:
004f596
)
[Fix] #40301 本を読んだ後のitem_tester_tval, item_tester_hookの解消抜けを修正. / Fixed the missing...
author
deskull
<deskull@users.sourceforge.jp>
Tue, 28 Apr 2020 16:31:34 +0000
(
01:31
+0900)
committer
deskull
<deskull@users.sourceforge.jp>
Tue, 28 Apr 2020 16:31:34 +0000
(
01:31
+0900)
src/cmd/cmd-spell.c
patch
|
blob
|
history
diff --git
a/src/cmd/cmd-spell.c
b/src/cmd/cmd-spell.c
index
c1f20b8
..
343fc43
100644
(file)
--- a/
src/cmd/cmd-spell.c
+++ b/
src/cmd/cmd-spell.c
@@
-627,6
+627,9
@@
void do_cmd_browse(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 | (caster_ptr->pclass == CLASS_FORCETRAINER ? USE_FORCE : 0)), item_tester_tval);
s = _("読める本がない。", "You have no books that you can read.");
o_ptr = choose_object(caster_ptr, &item, q, s, (USE_INVEN | USE_FLOOR | (caster_ptr->pclass == CLASS_FORCETRAINER ? USE_FORCE : 0)), item_tester_tval);
+
+ item_tester_tval = 0;
+ item_tester_hook = NULL;
if (!o_ptr)
{
if (item == INVEN_FORCE) /* the_force */
if (!o_ptr)
{
if (item == INVEN_FORCE) /* the_force */