diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-06 14:49:58 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-06 14:49:58 +0000 |
commit | 4e14b2dc2f1ebcc6971995f013d81db61cfb17e7 (patch) | |
tree | 0280dc53c7a34da43864e93300ff97bece1c7cf8 /crawl-ref | |
parent | e87dea4ec73e18578f93d82434660af8d2135904 (diff) | |
download | crawl-ref-4e14b2dc2f1ebcc6971995f013d81db61cfb17e7.tar.gz crawl-ref-4e14b2dc2f1ebcc6971995f013d81db61cfb17e7.zip |
When butchering corpses as a vampire, don't display "What a waste." if
the corpse has no blood in it (i.e., it has a CE_HCL chunk type).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3527 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/delay.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc index 46f8901537..8018a6569c 100644 --- a/crawl-ref/source/delay.cc +++ b/crawl-ref/source/delay.cc @@ -867,6 +867,7 @@ static void finish_delay(const delay_queue_item &delay) "relatives."); if (you.species == SP_VAMPIRE && + mons_corpse_effect(item.plus) != CE_HCL && (!god_likes_butchery(you.religion) || !you.duration[DUR_PRAYER])) { |