From 2ba02b60b6bcd926aaf651cfaf0e9f514d09abfd Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 1 Oct 2009 21:21:08 -0500 Subject: Add minor cosmetic fixes. --- crawl-ref/source/food.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index 8fb6189965..c9404d9688 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -2844,7 +2844,7 @@ static bool _vampire_consume_corpse(int slot, bool invent) if (!mons_has_blood(corpse.plus)) { - mpr( "There is no blood in this body!" ); + mpr("There is no blood in this body!"); return (false); } @@ -2857,13 +2857,14 @@ static bool _vampire_consume_corpse(int slot, bool invent) // The delay for eating a chunk (mass 1000) is 2 // Here the base nutrition value equals that of chunks, // but the delay should be smaller. - const int max_chunks = mons_weight(corpse.plus)/150; - int duration = 1 + max_chunks/3; - duration = stepdown_value( duration, 6, 6, 12, 12 ); + const int max_chunks = mons_weight(corpse.plus) / 150; + int duration = 1 + max_chunks / 3; + duration = stepdown_value(duration, 6, 6, 12, 12); // Get some nutrition right away, in case we're interrupted. // (-1 for the starting message.) vampire_nutrition_per_turn(corpse, -1); + // 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, duration, (int)invent, slot); -- cgit v1.2.3-54-g00ecf