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 los(), projectable() に player_type * 引数を追加. / Add player_type ...
[hengband/hengband.git]
/
src
/
warning.c
diff --git
a/src/warning.c
b/src/warning.c
index
3d9eca7
..
65cf3f4
100644
(file)
--- a/
src/warning.c
+++ b/
src/warning.c
@@
-429,7
+429,7
@@
bool process_warning(POSITION xx, POSITION yy)
r_ptr = &r_info[m_ptr->r_idx];
/* Monster spells (only powerful ones)*/
- if (projectable(my, mx, yy, xx))
+ if (projectable(
p_ptr->current_floor_ptr,
my, mx, yy, xx))
{
BIT_FLAGS f4 = r_ptr->flags4;
BIT_FLAGS f5 = r_ptr->a_ability_flags1;