summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-09 00:46:19 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-08-09 00:46:19 +0000
commit7ae139cabd5ba6e97ae2bb4ae5dd728957ff90a3 (patch)
treebaf6be27d3de0a6dcda02ae94902c8a714c42229 /crawl-ref/source/monstuff.cc
parent0473b6c1ce5ab39ea900266d84429266769b8b90 (diff)
downloadcrawl-ref-7ae139cabd5ba6e97ae2bb4ae5dd728957ff90a3.tar.gz
crawl-ref-7ae139cabd5ba6e97ae2bb4ae5dd728957ff90a3.zip
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
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
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))
{