OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Refactor] #37353 マジックナンバー修正(A_MAX) / Fix magic number (A_MAX).
[hengband/hengband.git]
/
src
/
realm-hex.c
diff --git
a/src/realm-hex.c
b/src/realm-hex.c
index
9fd9e8f
..
0fc16eb
100644
(file)
--- a/
src/realm-hex.c
+++ b/
src/realm-hex.c
@@
-873,7
+873,7
@@
cptr do_hex_spell(SPELL_IDX spell, BIT_FLAGS mode)
flag = TRUE;
}
- for (i = A_STR; i <
6
; i++)
+ for (i = A_STR; i <
A_MAX
; i++)
{
if (p_ptr->stat_cur[i] < p_ptr->stat_max[i])
{