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:
e1ff9ad
)
選択可能な魔法領域のリストrealm_choice1[]と2[]で忍者の分が無く、
author
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 5 Nov 2002 09:19:13 +0000
(09:19 +0000)
committer
mogami
<mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 5 Nov 2002 09:19:13 +0000
(09:19 +0000)
配列外アクセスしていたので修正。
src/tables.c
patch
|
blob
|
history
diff --git
a/src/tables.c
b/src/tables.c
index
08a3b4f
..
c2dbe02
100644
(file)
--- a/
src/tables.c
+++ b/
src/tables.c
@@
-3978,7
+3978,7
@@
u32b fake_spell_flags[4]=
};
-s32b realm_choices1[] =
+s32b realm_choices1[
MAX_CLASS
] =
{
(CH_NONE), /* Warrior */
(CH_LIFE | CH_SORCERY | CH_NATURE |
@@
-4016,10
+4016,11
@@
s32b realm_choices1[] =
(CH_NONE), /* Berserker */
(CH_NONE), /* Kaji */
(CH_NONE), /* Mirror-master */
+ (CH_NONE), /* Ninja */
};
-s32b realm_choices2[] =
+s32b realm_choices2[
MAX_CLASS
] =
{
(CH_NONE), /* Warrior */
(CH_LIFE | CH_SORCERY | CH_NATURE |
@@
-4057,6
+4058,7
@@
s32b realm_choices2[] =
(CH_NONE), /* Berserker */
(CH_NONE), /* Kaji */
(CH_NONE), /* Mirror-master */
+ (CH_NONE), /* Ninja */
};