diff options
Diffstat (limited to 'crawl-ref/source/mon-act.cc')
-rw-r--r-- | crawl-ref/source/mon-act.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index 2ad17e09a2..ffa34a4804 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -534,7 +534,7 @@ static void _handle_movement(monsters *monster) // First, check whether the monster is smart enough to even consider // this. if ((newpos == you.pos() - || mgrd(newpos) != NON_MONSTER && monster->foe == mgrd(newpos)) + || monster_at(newpos) && monster->foe == mgrd(newpos)) && mons_intel(monster) >= I_ANIMAL && coinflip() && !mons_is_confused(monster) && !mons_is_caught(monster) |