From 9fecb788095cc5315ef5f1485e0b736563a21460 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 13 Apr 2009 20:40:39 +0000 Subject: * Add stair repelling as a bad Xom effect. * Experimentally make tension increase the odds for good effects. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9600 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stuff.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/stuff.cc') diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index d7dbcd38e1..9413dd1460 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -403,9 +403,11 @@ static int follower_tag_radius2() // If only friendlies are adjacent, we set a max radius of 6, otherwise // only adjacent friendlies may follow. for (adjacent_iterator ai; ai; ++ai) + { if (const monsters *mon = monster_at(*ai)) if (!mons_friendly(mon)) return (2); + } return (6 * 6); } -- cgit v1.2.3-54-g00ecf