diff options
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 11838f43c5..077fe1826a 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1351,7 +1351,8 @@ void behaviour_event( struct monsters *mon, int event, int src, // will alert monster to <src> and turn them // against them, unless they have a current foe. // it won't turn friends hostile either. - if (mon->behaviour != BEH_CORNERED) + if (mon->behaviour != BEH_CORNERED && mon->behaviour != BEH_PANIC && + mon->behaviour != BEH_FLEE) mon->behaviour = BEH_SEEK; if (mon->foe == MHITNOT) |