diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-10 18:40:51 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-10 18:41:59 -0600 |
commit | 56865aec73520c32c908a60b0473bfdbade7563a (patch) | |
tree | d6d194c69df0b4b710b8dda77da6bfaeab344c91 | |
parent | 38a73fb2e3ce4a7755f3696f233232b10129a8ef (diff) | |
download | crawl-ref-56865aec73520c32c908a60b0473bfdbade7563a.tar.gz crawl-ref-56865aec73520c32c908a60b0473bfdbade7563a.zip |
Remove trailing whitespace.
-rw-r--r-- | crawl-ref/source/fight.cc | 4 | ||||
-rw-r--r-- | crawl-ref/source/item_use.cc | 2 |
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()); |