From 7ae139cabd5ba6e97ae2bb4ae5dd728957ff90a3 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sat, 9 Aug 2008 00:46:19 +0000 Subject: Fix inverted logic preventing TSO and Beogh followers from having any chance of being blessed when gaining experience levels. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6794 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index f8330fee69..f164571be0 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -408,7 +408,7 @@ static void _give_monster_experience(monsters *victim, { if (mon->gain_exp(experience)) { - if (you.religion == GOD_SHINING_ONE || you.religion == GOD_BEOGH + if (you.religion != GOD_SHINING_ONE && you.religion != GOD_BEOGH || player_under_penance() || !one_chance_in(3)) { -- cgit v1.2.3-54-g00ecf