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] #38844 inventory を player_type 構造体に inventory_list に改名して取り込み (コメントの修正は後日)
[hengband/hengband.git]
/
src
/
mind.c
diff --git
a/src/mind.c
b/src/mind.c
index
4b3a6ac
..
559977c
100644
(file)
--- a/
src/mind.c
+++ b/
src/mind.c
@@
-1614,7
+1614,7
@@
static bool cast_ninja_spell(int spell)
for (slot = 0; slot < INVEN_PACK; slot++)
{
- if (
inventory
[slot].tval == TV_SPIKE) break;
+ if (
p_ptr->inventory_list
[slot].tval == TV_SPIKE) break;
}
if (slot == INVEN_PACK)
{