OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4726bb5
)
fix monster-arena out-of-sight bug
author
dis-
<dis.rogue@gmail.com>
Wed, 17 Sep 2014 03:52:40 +0000
(12:52 +0900)
committer
dis-
<dis.rogue@gmail.com>
Wed, 17 Sep 2014 03:52:40 +0000
(12:52 +0900)
src/melee2.c
patch
|
blob
|
history
diff --git
a/src/melee2.c
b/src/melee2.c
index
1044589
..
e0c6149
100644
(file)
--- a/
src/melee2.c
+++ b/
src/melee2.c
@@
-3501,7
+3501,7
@@
void process_monsters(void)
}
/* Handle "sight" and "aggravation" */
-
else if ((m_ptr->cdis <= MAX_SIGHT
) &&
+
else if ((m_ptr->cdis <= MAX_SIGHT || p_ptr->inside_battle
) &&
(player_has_los_bold(fy, fx) || (p_ptr->cursed & TRC_AGGRAVATE)))
{
/* We can "see" or "feel" the player */