diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-12 23:08:37 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-12 23:08:37 +1000 |
commit | 3031fc6db1f969fd9b3bfa9687b263713cda20a0 (patch) | |
tree | 94967c6bbd40d84e2ed774f891f205c9d5502720 /crawl-ref/source/mon-info.cc | |
parent | 832d0ed62141a910d95e86a6284d72b244577e90 (diff) | |
download | crawl-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/mon-info.cc')
-rw-r--r-- | crawl-ref/source/mon-info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-info.cc b/crawl-ref/source/mon-info.cc index 55d47f1387..659aa1cb7d 100644 --- a/crawl-ref/source/mon-info.cc +++ b/crawl-ref/source/mon-info.cc @@ -166,7 +166,7 @@ static std::string _verbose_info(const monsters* m) return (" (fleeing)"); if (m->asleep()) { - if (!m->can_sleep(true)) + if (!m->can_hibernate(true)) return (" (dormant)"); else return (" (sleeping)"); |