summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-12 18:03:30 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-12 18:03:30 +0000
commit4df9883b2ff6713b1a88b85e45c15603151ed8b9 (patch)
tree4d05ecf27eca9c6cb84296d27bb50e35116bc070 /crawl-ref/source/spells4.cc
parent51dc09a4cf0cdd3c13780576e38719c9288f1e86 (diff)
downloadcrawl-ref-4df9883b2ff6713b1a88b85e45c15603151ed8b9.tar.gz
crawl-ref-4df9883b2ff6713b1a88b85e45c15603151ed8b9.zip
If you destroy an orcish idol using Lee's Rapid Deconstruction, make
sure Beogh takes revenge properly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3613 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 9c57cac55a..c1fcacad94 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -2346,6 +2346,9 @@ void cast_fragmentation(int pow) // jmf: ripped idea from airstrike
mprf("The %s explodes!", what);
explosion( blast, hole, true );
+
+ if (grid == DNGN_ORCISH_IDOL)
+ beogh_idol_revenge();
}
else if (blast.damage.num == 0)
{