summaryrefslogtreecommitdiffstats
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
parent38a73fb2e3ce4a7755f3696f233232b10129a8ef (diff)
downloadcrawl-ref-56865aec73520c32c908a60b0473bfdbade7563a.tar.gz
crawl-ref-56865aec73520c32c908a60b0473bfdbade7563a.zip
Remove trailing whitespace.
-rw-r--r--crawl-ref/source/fight.cc4
-rw-r--r--crawl-ref/source/item_use.cc2
2 files changed, 3 insertions, 3 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(),
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 217fc7444b..3ebb77b573 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -2271,7 +2271,7 @@ void throw_noise(actor* act, const bolt &pbolt, const item_def &ammo)
level = 7;
msg = "You hear a thunk.";
break;
-
+
default:
DEBUGSTR("Invalid launcher '%s'",
launcher->name(DESC_PLAIN).c_str());