summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-27 17:48:37 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-27 17:48:37 +0100
commit42d227a273a1334b60ca7574a8127d1a4b2744a1 (patch)
tree2655bcdeab4c1e157906b88ccefdda7645ee580a /crawl-ref/source/religion.cc
parent5b7701dc9d19fdad4de1a64b41995d65c03b7df6 (diff)
parentdc3e12a4da48363a7cadb77f30b8e784d5f82acf (diff)
downloadcrawl-ref-42d227a273a1334b60ca7574a8127d1a4b2744a1.tar.gz
crawl-ref-42d227a273a1334b60ca7574a8127d1a4b2744a1.zip
Merge branch 'master' into iood
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 68f1541f59..3e5d0ec767 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -609,7 +609,7 @@ std::string get_god_likes(god_type which_god, bool verbose)
break;
}
- if (god_likes_fresh_corpses(which_god))
+ if (god_likes_fresh_corpses(which_god) && which_god != GOD_KIKUBAAQUDGHA)
{
snprintf(info, INFO_SIZE, "you sacrifice fresh corpses%s",
verbose ? " (by standing over them and <w>p</w>raying)" : "");
@@ -4230,7 +4230,7 @@ static bool _bless_weapon(god_type god, brand_type brand, int colour)
set_item_ego_type(wpn, OBJ_WEAPONS, brand);
wpn.colour = colour;
- const bool is_cursed = item_cursed(wpn);
+ const bool is_cursed = wpn.cursed();
enchant_weapon(ENCHANT_TO_HIT, true, wpn);
@@ -4811,7 +4811,7 @@ void offer_items()
const std::string msg =
"Really sacrifice " + item.name(DESC_NOCAP_A) + "?";
- if (!yesno(msg.c_str()))
+ if (!yesno(msg.c_str(), false, 'n'))
{
i = next;
continue;
@@ -5153,7 +5153,7 @@ bool god_likes_fresh_corpses(god_type god)
bool god_hates_butchery(god_type god)
{
- return (god == GOD_ELYVILON);
+ return (false);
}
harm_protection_type god_protects_from_harm(god_type god, bool actual)