From 0bb2d8e6c92b777beb7126149ba2fadc200b461d Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Sun, 27 Dec 2009 20:32:21 +0100 Subject: Don't make monsters seek projectiles. That's, uhm, unhealthy. --- crawl-ref/source/mon-behv.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/mon-behv.cc') diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc index 98a1f3e853..5120688038 100644 --- a/crawl-ref/source/mon-behv.cc +++ b/crawl-ref/source/mon-behv.cc @@ -628,6 +628,7 @@ static bool _mons_check_foe(monsters *mon, const coord_def& p, { if (foe != mon && mon->can_see(foe) + && !mons_is_projectile(foe->type) && (friendly || !is_sanctuary(p)) && (foe->friendly() != friendly || (neutral && !foe->neutral()))) -- cgit v1.2.3-54-g00ecf