summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-04 21:55:51 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-04 21:55:51 +0000
commitf4c98b5c1ff17fc786adafb369c2beb6ed007d30 (patch)
treec106dda69a6e3206fe2df7a3ff7bf508c86ef14e /crawl-ref/source/view.cc
parent85186cca64385dc3a8550f12f660dbd7bbe49061 (diff)
downloadcrawl-ref-f4c98b5c1ff17fc786adafb369c2beb6ed007d30.tar.gz
crawl-ref-f4c98b5c1ff17fc786adafb369c2beb6ed007d30.zip
Don't consider user options when deciding monster behaviour and when
giving a bonus for escaping nets due to dangerous monsters nearby. Don't give a bonus to escaping nets if nondangerous monsters (allies, plants, etc.) are nearby. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8896 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index cc58ba7711..d79ba45247 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -3968,7 +3968,7 @@ bool mon_enemies_around(const monsters *monster)
{
// Additionally, if an ally is nearby and *you* have a foe,
// consider it as the ally's enemy too.
- return (mons_near(monster) && !i_feel_safe());
+ return (mons_near(monster) && there_are_monsters_nearby(true));
}
else
{