diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-06 11:48:29 +0300 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 09:56:26 +0100 |
commit | 37dddc69c063b655d028bdb33e5ab831b4af8a55 (patch) | |
tree | 55f621318adec99bda23eb02da3f8895381cd80e /crawl-ref/source/mon-info.cc | |
parent | dbdfb48c0639aa101f25d210496e66bd6326873b (diff) | |
download | crawl-ref-37dddc69c063b655d028bdb33e5ab831b4af8a55.tar.gz crawl-ref-37dddc69c063b655d028bdb33e5ab831b4af8a55.zip |
Add actor::petrified, which replaces mons_is_petrified.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
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 767f49c4a8..92673a586b 100644 --- a/crawl-ref/source/mon-info.cc +++ b/crawl-ref/source/mon-info.cc @@ -154,7 +154,7 @@ static std::string _verbose_info(const monsters* m) if (mons_behaviour_perceptible(m)) { - if (mons_is_petrified(m)) + if (m->petrified()) return (" (petrified)"); if (m->paralysed()) return (" (paralysed)"); |