summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 170f5bcef4..11838f43c5 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1307,7 +1307,7 @@ void behaviour_event( struct monsters *mon, int event, int src,
if (mon->behaviour == BEH_SLEEP)
mon->behaviour = BEH_WANDER;
- // A bit of code to make Project Noise actually so
+ // A bit of code to make Project Noise actually do
// something again. Basically, dumb monsters and
// monsters who aren't otherwise occupied will at
// least consider the (apparent) source of the noise
@@ -1322,8 +1322,9 @@ void behaviour_event( struct monsters *mon, int event, int src,
case ME_WHACK:
case ME_ANNOY:
// will turn monster against <src>, unless they
- // are BOTH friendly and stupid. Hitting someone
- // over the head, of course, always triggers this code.
+ // are BOTH friendly and stupid, or else fleeing anyway.
+ // Hitting someone over the head, of course,
+ // always triggers this code.
if ( event == ME_WHACK ||
((isFriendly != sourceFriendly || isSmart) &&
(mon->behaviour != BEH_FLEE && mon->behaviour != BEH_PANIC)))