summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-18 15:54:14 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-18 15:54:14 +0000
commitb673afdd95044009e7335f8237c618ae872a59eb (patch)
tree88e7a0e0b78b53d473959bf8999476963de1248f /crawl-ref
parent7c70dc293501c5a1317548b235a0bcaf94bbcb2e (diff)
downloadcrawl-ref-b673afdd95044009e7335f8237c618ae872a59eb.tar.gz
crawl-ref-b673afdd95044009e7335f8237c618ae872a59eb.zip
Reduce the minimum distance from the player that pacified monsters have
to be in order to disappear (for e.g. those too stupid to go down the right set of stairs). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9621 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index e58056765b..fa827d503b 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -3284,7 +3284,7 @@ static bool _pacified_leave_level(monsters *mon, std::vector<level_exit> e,
// Likewise, if a pacified monster is far enough away from the
// player, make it leave the level.
if (e_index != -1 && mon->pos() == e[e_index].target
- || grid_distance(mon->pos(), you.pos()) >= LOS_RADIUS * 4)
+ || grid_distance(mon->pos(), you.pos()) >= LOS_RADIUS * 2)
{
make_mons_leave_level(mon);
return (true);