summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
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))
{