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:
66ee9e3
)
モンスターの移動処理で常にFLASEになる場所があった。削除してしまうのはためらわれるのでコメントアウトしておいた。
author
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 24 Feb 2002 13:22:55 +0000
(13:22 +0000)
committer
habu
<habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 24 Feb 2002 13:22:55 +0000
(13:22 +0000)
src/melee2.c
patch
|
blob
|
history
diff --git
a/src/melee2.c
b/src/melee2.c
index
2952f44
..
b7fab78
100644
(file)
--- a/
src/melee2.c
+++ b/
src/melee2.c
@@
-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 */