summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorabrahamwl <abrahamwl@gmail.com>2009-10-30 18:06:32 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-30 21:37:19 -0700
commitef456d5cbf1a159010d28f0ab5bd9ef3e35143c7 (patch)
tree2c4da965a411cf78b4c5a58fdd7546e435fd3f2b /crawl-ref/source/religion.cc
parent9e0fc66a0d3b9bdf502d0726828ba1ed89302816 (diff)
downloadcrawl-ref-ef456d5cbf1a159010d28f0ab5bd9ef3e35143c7.tar.gz
crawl-ref-ef456d5cbf1a159010d28f0ab5bd9ef3e35143c7.zip
Combine mons_is_sleeping(monsters *m) into monsters::asleep()
...and replace all references to mons_is_sleeping with asleep.
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index dd98b3ee1e..444520b01d 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -5666,7 +5666,7 @@ static bool _beogh_followers_abandon_you()
num_followers++;
if (you.visible_to(monster)
- && !mons_is_sleeping(monster)
+ && !monster->asleep()
&& !mons_is_confused(monster)
&& !mons_cannot_act(monster))
{