diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 15:47:06 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-08 15:47:06 +0300 |
commit | 63ee0e170c497f07f8b333e1611c3bc02e4e9fc2 (patch) | |
tree | e5169282639452ec1db9605b0e9ff22b96fd1212 /crawl-ref/source/monster.cc | |
parent | b6b37f3ffdff725c0ce94b42b6f6875fecd62e2e (diff) | |
download | crawl-ref-63ee0e170c497f07f8b333e1611c3bc02e4e9fc2.tar.gz crawl-ref-63ee0e170c497f07f8b333e1611c3bc02e4e9fc2.zip |
Replace mons_is_petrifying with monsters::petrifying.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r-- | crawl-ref/source/monster.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index b088be9a35..ed32a9e951 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -2819,6 +2819,11 @@ bool monsters::petrified() const return has_ench(ENCH_PETRIFIED); } +bool monsters::petrifying() const +{ + return has_ench(ENCH_PETRIFYING); +} + bool monsters::friendly() const { return (attitude == ATT_FRIENDLY || has_ench(ENCH_CHARM)); |