summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-12 23:08:37 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-12 23:08:37 +1000
commit3031fc6db1f969fd9b3bfa9687b263713cda20a0 (patch)
tree94967c6bbd40d84e2ed774f891f205c9d5502720 /crawl-ref/source/monster.h
parent832d0ed62141a910d95e86a6284d72b244577e90 (diff)
downloadcrawl-ref-3031fc6db1f969fd9b3bfa9687b263713cda20a0.tar.gz
crawl-ref-3031fc6db1f969fd9b3bfa9687b263713cda20a0.zip
Rename can_sleep/put_to_sleep to can_hibernate/hibernate.
This reflects the fact that these functions are currently only used to player and monster ensorcelled hibernation/metabolic englaciation, and thus both check monster's cold resistance.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r--crawl-ref/source/monster.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h
index 83e9f779d1..8725688d01 100644
--- a/crawl-ref/source/monster.h
+++ b/crawl-ref/source/monster.h
@@ -380,8 +380,8 @@ public:
void blink(bool allow_partial_control = true);
void teleport(bool right_now = false, bool abyss_shift = false);
- bool can_sleep(bool holi_only = false) const;
- void put_to_sleep(int power = 0);
+ bool can_hibernate(bool holi_only = false) const;
+ void hibernate(int power = 0);
void check_awaken(int disturbance);
int stat_hp() const { return hit_points; }