diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-06 15:10:29 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-06 15:12:26 -0600 |
commit | f9b61b5115bb93a1381cfc3032820489875624c5 (patch) | |
tree | 637b6b52c190b1feb0e17193784056324213cf08 /crawl-ref/source/player.h | |
parent | b192fdbbbeb85e80aae71e169417511b52e5ab19 (diff) | |
download | crawl-ref-f9b61b5115bb93a1381cfc3032820489875624c5.tar.gz crawl-ref-f9b61b5115bb93a1381cfc3032820489875624c5.zip |
Consolidate player/monster sleep checks.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index 1456fd5fa4..b2e9031e1d 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -461,6 +461,7 @@ public: bool petrified() const; bool asleep() const; + bool can_sleep(bool holi_only = false) const; void put_to_sleep(int power = 0); void awake(); void check_awaken(int disturbance); |