OSDN Git Service

モンスターの移動処理で常にFLASEになる場所があった。削除してしまうのはためらわれるのでコメントアウトしておいた。
authorhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 24 Feb 2002 13:22:55 +0000 (13:22 +0000)
committerhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 24 Feb 2002 13:22:55 +0000 (13:22 +0000)
src/melee2.c

index 2952f44..b7fab78 100644 (file)
@@ -3936,6 +3936,7 @@ void process_monsters(void)
                        test = TRUE;
                }
 
+#if 0 /* (cave[py][px].when == cave[fy][fx].when) is always FALSE... */
                /* Hack -- Monsters can "smell" the player from far away */
                /* Note that most monsters have "aaf" of "20" or so */
                else if (!stupid_monsters && !(m_ptr->mflag2 & MFLAG_NOFLOW) &&
@@ -3947,6 +3948,7 @@ void process_monsters(void)
                        /* We can "smell" the player */
                        test = TRUE;
                }
+#endif
                else if (m_ptr->target_y) test = TRUE;
 
                /* Do nothing */