diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-18 19:25:57 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-18 19:25:57 +0000 |
commit | bd188fd76ce16ab6ba0c3be8d8e29976f1ee4d3d (patch) | |
tree | 9215eba04650824c4d6c6b6e6d67f0176d2278aa | |
parent | dabb79145248ca25ad444553c574ed32ff48b176 (diff) | |
download | crawl-ref-bd188fd76ce16ab6ba0c3be8d8e29976f1ee4d3d.tar.gz crawl-ref-bd188fd76ce16ab6ba0c3be8d8e29976f1ee4d3d.zip |
Fix Vampires draining small corpses not destroying said corpses. Very
embarassing, that.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6607 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/food.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index 0ff2d7f727..15418e0032 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -2347,13 +2347,10 @@ static bool _vampire_consume_corpse(const int slot, bool invent) // Get some nutrition right away, in case we're interrupted. // (-1 for the starting message.) vampire_nutrition_per_turn(corpse, -1); - if (chunk_amount/2 > 0) - { - // The draining delay doesn't have a start action, and we only need - // the continue/finish messages if it takes longer than 1 turn. - start_delay( DELAY_FEED_VAMPIRE, chunk_amount/2, - (int) invent, slot ); - } + // The draining delay doesn't have a start action, and we only need + // the continue/finish messages if it takes longer than 1 turn. + start_delay( DELAY_FEED_VAMPIRE, chunk_amount/2, + (int) invent, slot ); return (true); } |