summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2011-10-04 17:13:43 +0100
committerChris Campbell <chriscampbell89@gmail.com>2011-10-04 17:23:53 +0100
commit0d6ff40332ceaf306cd347e64be9b6b8264ac625 (patch)
tree8f329709d67cfa15aeef6a4876e82b1e531407fc /crawl-ref/source/exclude.cc
parent7426ea17354b3106daabaf9669ff8311ca83b188 (diff)
downloadcrawl-ref-0d6ff40332ceaf306cd347e64be9b6b8264ac625.tar.gz
crawl-ref-0d6ff40332ceaf306cd347e64be9b6b8264ac625.zip
Autoexclude statues again
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r--crawl-ref/source/exclude.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc
index 0841cf7358..b2866054b2 100644
--- a/crawl-ref/source/exclude.cc
+++ b/crawl-ref/source/exclude.cc
@@ -27,8 +27,8 @@
static bool _mon_needs_auto_exclude(const monster* mon, bool sleepy = false)
{
- if (mons_is_stationary(mon) && sleepy)
- return (false);
+ if (mons_is_stationary(mon))
+ return (!sleepy);
// Auto exclusion only makes sense if the monster is still asleep.
return (mon->asleep());