diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-04 00:23:44 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-04 00:23:44 +0000 |
commit | 0db7ed50002c6d8ff1efea6101624e33f1648e5d (patch) | |
tree | d44fc3cb3ae5b817869033f74935006eca3d6c86 /crawl-ref/source/spells4.cc | |
parent | 418c50e189ef88f6d0e6e2115b1f80a3986835a9 (diff) | |
download | crawl-ref-0db7ed50002c6d8ff1efea6101624e33f1648e5d.tar.gz crawl-ref-0db7ed50002c6d8ff1efea6101624e33f1648e5d.zip |
Fix check for not-fully-petrified monsters in Lee's Rapid
Deconstruction.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7114 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index dbb2c00f5f..c7e2b572c2 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1845,7 +1845,7 @@ bool cast_fragmentation(int pow, const dist& spd) default: { const bool petrifying = mons_is_petrifying(mon); - const bool petrified = mons_is_petrified(mon); + const bool petrified = mons_is_petrified(mon) && !petrifying; // Petrifying or petrified monsters can be exploded. if (petrifying || petrified) |