summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-12 02:37:36 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-12 02:37:36 +0000
commit55d86698b1be510ad0e044ec4e9fdb20d77296d5 (patch)
tree0be62579410e6c5c047d17e69cc11dbea76f60e2
parenta65641377f410600bc70b06ef39ce6010d631d41 (diff)
downloadcrawl-ref-55d86698b1be510ad0e044ec4e9fdb20d77296d5.tar.gz
crawl-ref-55d86698b1be510ad0e044ec4e9fdb20d77296d5.zip
Increased Silence range from 6+0 to 6+1.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7222 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/stuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index 2b78d546c8..d1cb01d31a 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -1216,7 +1216,7 @@ bool adjacent( const coord_def& p1, const coord_def& p2 )
bool silenced(const coord_def& p)
{
// FIXME: implement for monsters
- return (you.duration[DUR_SILENCE] > 0 && distance(p, you.pos()) <= 6*6);
+ return (you.duration[DUR_SILENCE] && distance(p, you.pos()) <= 6*6 + 1);
}
bool player_can_hear(const coord_def& p)