diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-21 11:43:07 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-21 11:43:07 -0600 |
commit | 1920e37b7d8f3433c84c860c5228d1213bba0f75 (patch) | |
tree | 3591e88073c176c6209aa73e8d9c520c1d6d1c71 /crawl-ref | |
parent | b2915ea664489947c9702dfa11e40e9d28d22d2e (diff) | |
download | crawl-ref-1920e37b7d8f3433c84c860c5228d1213bba0f75.tar.gz crawl-ref-1920e37b7d8f3433c84c860c5228d1213bba0f75.zip |
Remove now-unused function offer_and_butcher_corpse().
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/religion.cc | 15 | ||||
-rw-r--r-- | crawl-ref/source/religion.h | 1 |
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(); |