summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-10 18:40:51 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-10 18:41:59 -0600
commit56865aec73520c32c908a60b0473bfdbade7563a (patch)
treed6d194c69df0b4b710b8dda77da6bfaeab344c91 /crawl-ref/source/fight.cc
parent38a73fb2e3ce4a7755f3696f233232b10129a8ef (diff)
downloadcrawl-ref-56865aec73520c32c908a60b0473bfdbade7563a.tar.gz
crawl-ref-56865aec73520c32c908a60b0473bfdbade7563a.zip
Remove trailing whitespace.
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index f40ef534e9..46455cc9f0 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -844,7 +844,7 @@ static bool _player_vampire_draws_blood(const monsters* mon, const int damage,
// Bats get a rather less nutrition out of it.
if (player_in_bat_form())
food_value /= 2;
-
+
food_value /= reduction;
lessen_hunger(food_value, false);
@@ -1995,7 +1995,7 @@ bool melee_attack::player_monattk_hit_effects(bool mondied)
{
// No further effects.
}
- else if (you.species == SP_VAMPIRE
+ else if (you.species == SP_VAMPIRE
&& damage_brand == SPWPN_VAMPIRICISM
&& you.equip[EQ_WEAPON] != -1
&& _player_vampire_draws_blood(defender_as_monster(),