summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 15:47:06 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-08 15:47:06 +0300
commit63ee0e170c497f07f8b333e1611c3bc02e4e9fc2 (patch)
treee5169282639452ec1db9605b0e9ff22b96fd1212 /crawl-ref/source/spells4.cc
parentb6b37f3ffdff725c0ce94b42b6f6875fecd62e2e (diff)
downloadcrawl-ref-63ee0e170c497f07f8b333e1611c3bc02e4e9fc2.tar.gz
crawl-ref-63ee0e170c497f07f8b333e1611c3bc02e4e9fc2.zip
Replace mons_is_petrifying with monsters::petrifying.
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index a03c9ca9c1..fd0dd6ab07 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -1525,7 +1525,7 @@ bool cast_fragmentation(int pow, const dist& spd)
}
else
{
- const bool petrifying = mons_is_petrifying(mon);
+ const bool petrifying = mon->petrifying();
const bool petrified = mon->petrified() && !petrifying;
// Petrifying or petrified monsters can be exploded.