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 monster_gain_exp() にplayer_type * 引数を追加 / Added player_type * argum...
[hengband/hengband.git]
/
src
/
spells1.c
diff --git
a/src/spells1.c
b/src/spells1.c
index
e7d7bfd
..
a9a553f
100644
(file)
--- a/
src/spells1.c
+++ b/
src/spells1.c
@@
-3808,7
+3808,7
@@
static bool project_m(player_type *caster_ptr, MONSTER_IDX who, POSITION r, POSI
}
}
- if (who > 0) monster_gain_exp(who, m_ptr->r_idx);
+ if (who > 0) monster_gain_exp(
caster_ptr,
who, m_ptr->r_idx);
/* Generate treasure, etc */
monster_death(g_ptr->m_idx, FALSE);