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 scatter() に player_type * 引数を追加 / Added player_type * argument...
[hengband/hengband.git]
/
src
/
mind.c
diff --git
a/src/mind.c
b/src/mind.c
index
da1e121
..
4accd42
100644
(file)
--- a/
src/mind.c
+++ b/
src/mind.c
@@
-1739,7
+1739,7
@@
static bool cast_ninja_spell(player_type *caster_ptr, int spell)
while (attempts--)
{
- scatter(&y, &x, caster_ptr->y, caster_ptr->x, 4, 0);
+ scatter(
caster_ptr->current_floor_ptr,
&y, &x, caster_ptr->y, caster_ptr->x, 4, 0);
if (!player_bold(caster_ptr, y, x)) break;
}