summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-29 18:53:09 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-29 18:53:09 +0000
commit3d906a948a3d54a83648a71441423bfa9a47d241 (patch)
treea3e0e32bd7dcf2320de7c2d51ca0f0aaae22e055 /crawl-ref/source/beam.cc
parent835bd93695c97506e339fb09dc65666a09a6837f (diff)
downloadcrawl-ref-3d906a948a3d54a83648a71441423bfa9a47d241.tar.gz
crawl-ref-3d906a948a3d54a83648a71441423bfa9a47d241.zip
Add more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3939 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index bbbf6ce749..073f474be2 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3668,7 +3668,7 @@ static int _name_to_skill_level(const std::string& name)
if (type == SK_DARTS || type == SK_SLINGS)
return (you.skills[type] + you.skills[SK_THROWING]);
-
+
return (2 * you.skills[type]);
}
@@ -3779,7 +3779,7 @@ static int _affect_monster(bolt &beam, monsters *mon)
// Submerged monsters are unaffected by enchantments.
if (submerged)
return (0);
-
+
// nasty enchantments will annoy the monster, and are considered
// naughty (even if a monster might resist)
if (nasty_beam(mon, beam))
@@ -3948,7 +3948,7 @@ static int _affect_monster(bolt &beam, monsters *mon)
god_conduct_trigger conduct;
conduct.enabled = false;
-
+
if (nasty_beam(mon, beam))
{
if (YOU_KILL(beam.thrower) && hurt_final > 0)