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:
c2871de
)
Add a check of magic castability when we use 'Powerful Activation'
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 2 Feb 2013 18:13:19 +0000
(18:13 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 2 Feb 2013 18:13:19 +0000
(18:13 +0000)
src/racial.c
patch
|
blob
|
history
diff --git
a/src/racial.c
b/src/racial.c
index
65eb5a6
..
c129db9
100644
(file)
--- a/
src/racial.c
+++ b/
src/racial.c
@@
-1197,6
+1197,7
@@
static bool cmd_racial_power_aux(s32b command)
if (command == -3) {
if (!gain_magic()) return FALSE;
} else if (command == -4) {
+ if (!can_do_cmd_cast()) return FALSE;
if (!do_cmd_magic_eater(FALSE, TRUE)) return FALSE;
}
break;