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
地形フラグ参照に関して, have_flag(f_flags_*(), フラグ)として使われて
[hengband/hengband.git]
/
src
/
artifact.c
diff --git
a/src/artifact.c
b/src/artifact.c
index
21bc098
..
0c7e6e7
100644
(file)
--- a/
src/artifact.c
+++ b/
src/artifact.c
@@
-2252,7
+2252,7
@@
bool activate_random_artifact(object_type * o_ptr)
m_ptr = &m_list[c_ptr->m_idx];
/* Hack -- attack monsters */
- if (c_ptr->m_idx && (m_ptr->ml ||
have_flag(f_flags_bold(y, x)
, FF_PROJECT)))
+ if (c_ptr->m_idx && (m_ptr->ml ||
cave_have_flag_bold(y, x
, FF_PROJECT)))
py_attack(y, x, 0);
}
}