• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionbd7f73c15417d7a5f31fcb9d8fe9638e9e25e152 (tree)
Time2014-09-17 12:52:40
Authordis- <dis.rogue@gmai...>
Commiterdis-

Log Message

fix monster-arena out-of-sight bug

Change Summary

Incremental Difference

--- a/src/melee2.c
+++ b/src/melee2.c
@@ -3501,7 +3501,7 @@ void process_monsters(void)
35013501 }
35023502
35033503 /* Handle "sight" and "aggravation" */
3504- else if ((m_ptr->cdis <= MAX_SIGHT) &&
3504+ else if ((m_ptr->cdis <= MAX_SIGHT || p_ptr->inside_battle) &&
35053505 (player_has_los_bold(fy, fx) || (p_ptr->cursed & TRC_AGGRAVATE)))
35063506 {
35073507 /* We can "see" or "feel" the player */
Show on old repository browser