summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-24 02:44:29 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-24 02:44:29 +0000
commit5e55a276bda898ff3087cc6f198e745355ab8e06 (patch)
treea19246cca8b48a6c254c5a3c44a1cc8895deeeb2 /crawl-ref/source/monstuff.cc
parent8909792b196a0a01443ef45c70f5f7cb503b195e (diff)
downloadcrawl-ref-5e55a276bda898ff3087cc6f198e745355ab8e06.tar.gz
crawl-ref-5e55a276bda898ff3087cc6f198e745355ab8e06.zip
Add a minor cleanup. Since blessing a random follower as a result of
one of your kills is only done for Beogh, remove the unused code enabling it for TSO. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5205 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 9425d8f40a..e6d8b9e83b 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -988,10 +988,7 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent)
// Randomly bless a follower.
if (!created_friendly
&& gives_xp
- && (you.religion == GOD_SHINING_ONE
- && mons_is_evil_or_unholy(monster)
- && random2(you.piety) >= piety_breakpoint(0)
- || you.religion == GOD_BEOGH
+ && (you.religion == GOD_BEOGH
&& mons_holiness(monster) == MH_NATURAL
&& random2(you.piety) >= piety_breakpoint(2))
&& !player_under_penance())