summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-21 11:51:00 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-21 11:51:00 -0600
commit505571294e7ca02c0af89ff2b25f3cecde439448 (patch)
tree6fbd5a84c67afbd8ef05e93329df714026732e5a /crawl-ref/source/religion.cc
parent1920e37b7d8f3433c84c860c5228d1213bba0f75 (diff)
downloadcrawl-ref-505571294e7ca02c0af89ff2b25f3cecde439448.tar.gz
crawl-ref-505571294e7ca02c0af89ff2b25f3cecde439448.zip
Simplify.
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc16
1 files changed, 5 insertions, 11 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index be29bb7c15..ffd4224d2d 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -2476,8 +2476,8 @@ void pray()
you.duration[DUR_PRAYER] = 20;
}
- // Gods who like fresh corpses, Kikuites, Beoghites and
- // Nemelexites offer the items they're standing on.
+ // Gods who like fresh corpses, Kikuites, Beoghites and Nemelexites
+ // offer the items they're standing on.
if (altar_god == GOD_NO_GOD
&& (god_likes_fresh_corpses(you.religion)
|| you.religion == GOD_BEOGH || you.religion == GOD_NEMELEX_XOBEH))
@@ -2638,16 +2638,8 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
case DID_DRINK_BLOOD:
switch (you.religion)
{
- case GOD_SHINING_ONE:
- if (!known)
- {
- simple_god_message(" forgives your inadvertent "
- "blood-drinking, just this once.");
- break;
- }
- penance = level;
- // deliberate fall through
case GOD_ZIN:
+ case GOD_SHINING_ONE:
case GOD_ELYVILON:
if (!known)
{
@@ -2655,6 +2647,8 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
"blood-drinking, just this once.");
break;
}
+ if (you.religion == GOD_SHINING_ONE)
+ penance = level;
piety_change = -2*level;
retval = true;
break;