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:
71e6c5a
)
[Refactor] #37353 cmd_limit_blind() 適用.
author
deskull
<deskull@users.sourceforge.jp>
Thu, 1 Aug 2019 14:32:25 +0000
(23:32 +0900)
committer
deskull
<deskull@users.sourceforge.jp>
Thu, 1 Aug 2019 14:32:25 +0000
(23:32 +0900)
src/cmd-hissatsu.c
patch
|
blob
|
history
diff --git
a/src/cmd-hissatsu.c
b/src/cmd-hissatsu.c
index
55ddead
..
7998dfe
100644
(file)
--- a/
src/cmd-hissatsu.c
+++ b/
src/cmd-hissatsu.c
@@
-385,12
+385,7
@@
void do_cmd_gain_hissatsu(void)
set_action(p_ptr, ACTION_NONE);
}
- if (p_ptr->blind || no_lite())
- {
- msg_print(_("目が見えない!", "You cannot see!"));
- return;
- }
-
+ if (cmd_limit_blind(p_ptr)) return;
if (cmd_limit_confused(p_ptr)) return;
if (!(p_ptr->new_spells))