summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/religion.cc15
-rw-r--r--crawl-ref/source/religion.h1
2 files changed, 0 insertions, 16 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 58ad61ecc6..be29bb7c15 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -5229,21 +5229,6 @@ harm_protection_type god_protects_from_harm(god_type god, bool actual)
return (HPT_NONE);
}
-void offer_and_butcher_corpse(int corpse)
-{
- // We always give the "good" (piety-gain) message when doing
- // dedicated butchery. Uh, call it a feature.
- _print_sacrifice_message(you.religion, mitm[corpse], PIETY_SOME);
-
- did_god_conduct(DID_DEDICATED_BUTCHERY, 10);
-
- // ritual sacrifice can also bloodify the ground
- const monster_type mons_class = static_cast<monster_type>(mitm[corpse].plus);
- const int max_chunks = mons_weight(mons_class) / 150;
- bleed_onto_floor(you.pos(), mons_class, max_chunks, true);
- destroy_item(corpse);
-}
-
// Returns true if the player can use the good gods' passive piety gain.
static bool _need_free_piety()
{
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h
index 5ecc6ce34c..82f112b548 100644
--- a/crawl-ref/source/religion.h
+++ b/crawl-ref/source/religion.h
@@ -79,7 +79,6 @@ void excommunication(god_type new_god = GOD_NO_GOD);
void gain_piety(int pgn);
void god_speaks(god_type god, const char *mesg);
void lose_piety(int pgn);
-void offer_and_butcher_corpse(int corpse);
std::string god_prayer_reaction();
void pray();
void end_prayer();