diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-28 08:18:33 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-28 08:18:33 +0000 |
commit | dc3aa32db050e7923a4e802b874fccd997c1d6c6 (patch) | |
tree | 94fde085a55d4a03f910c74727d68c3301b54cde | |
parent | c83c83056ee1f25c7caba5301ef17adcf142b56c (diff) | |
download | crawl-ref-dc3aa32db050e7923a4e802b874fccd997c1d6c6.tar.gz crawl-ref-dc3aa32db050e7923a4e802b874fccd997c1d6c6.zip |
Beogh won't smite the player if his idol was destroyed by a monster.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2234 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/beam.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 24388fea21..d78fa1cdc4 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -2687,7 +2687,8 @@ static int affect_wall(bolt &beam, int x, int y) mpr("The statue twists and shakes as its substance crumbles away!"); } - if (targ_grid == DNGN_ORCISH_IDOL) + if (targ_grid == DNGN_ORCISH_IDOL + && beam.beam_source == NON_MONSTER) { beogh_idol_revenge(); } |