summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-01 20:32:38 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-01 20:32:38 -0500
commit38a99d5fb299818a3fa0dc79c9ddc5d0379aeb0a (patch)
tree8e4047c34bade786d515ebccac432b81a7d91e4a /crawl-ref/source/food.cc
parent2a56957bec723bd5a9b842b503ba3c6e7e0f0ec0 (diff)
downloadcrawl-ref-38a99d5fb299818a3fa0dc79c9ddc5d0379aeb0a.tar.gz
crawl-ref-38a99d5fb299818a3fa0dc79c9ddc5d0379aeb0a.zip
Clean up the Kiku changes a bit.
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 712ffef62b..13cfb87116 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -364,9 +364,9 @@ static bool _butcher_corpse(int corpse_id, bool first_corpse = true,
{
start_delay(DELAY_OFFER_CORPSE, 0, corpse_id);
- // Kiku torments if you butcher a corpse while praying
- bool kiku_torments = (you.religion == GOD_KIKUBAAQUDGHA && you.piety > 120);
- if (kiku_torments)
+ // Kiku torments if you butcher a corpse while praying.
+ if (you.religion == GOD_KIKUBAAQUDGHA
+ && you.piety >= piety_breakpoint(4)))
{
simple_god_message(" inflicts torment against the living!");
torment(TORMENT_GENERIC, you.pos());