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] #38997 monspell_to_player() に player_type * 引数を追加. / Add player_type ...
[hengband/hengband.git]
/
src
/
mspells1.c
diff --git
a/src/mspells1.c
b/src/mspells1.c
index
7694781
..
6a9145f
100644
(file)
--- a/
src/mspells1.c
+++ b/
src/mspells1.c
@@
-1772,7
+1772,7
@@
bool make_attack_spell(MONSTER_IDX m_idx, player_type *target_ptr)
}
/* Cast the spell. */
- dam = monspell_to_player(thrown_spell, y, x, m_idx);
+ dam = monspell_to_player(thrown_spell,
target_ptr,
y, x, m_idx);
if (dam < 0) return FALSE;
if ((target_ptr->action == ACTION_LEARN) && thrown_spell > 175)