summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/target.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-10-06 17:40:40 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-10-06 17:40:40 +0200
commit74ff12fab85514768a273fd4b5f4e8badf3813e9 (patch)
tree1ef1d3193f24eef32cd5d3c5c2cf99b4936bb90a /crawl-ref/source/target.cc
parentbe10f00f4b64d4a6e755c92693e30d3813839314 (diff)
downloadcrawl-ref-74ff12fab85514768a273fd4b5f4e8badf3813e9.tar.gz
crawl-ref-74ff12fab85514768a273fd4b5f4e8badf3813e9.zip
Spacing fixes.
Diffstat (limited to 'crawl-ref/source/target.cc')
-rw-r--r--crawl-ref/source/target.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/target.cc b/crawl-ref/source/target.cc
index 9dbd6df814..3fbb793251 100644
--- a/crawl-ref/source/target.cc
+++ b/crawl-ref/source/target.cc
@@ -967,7 +967,7 @@ bool targetter_jump::valid_landing(coord_def a, bool check_invis)
// Check if a landing site is invalid due to a visible monster obstructing
// the path.
ray.advance();
- while(map_bounds(ray.pos()))
+ while (map_bounds(ray.pos()))
{
act = actor_at(ray.pos());
if (ray.pos() == a)
@@ -990,8 +990,8 @@ bool targetter_jump::valid_landing(coord_def a, bool check_invis)
blocked_landing_reason = BLOCKED_FLYING;
return false;
}
- else if(act->body_size() == SIZE_GIANT
- && grid != DNGN_DEEP_WATER && grid != DNGN_LAVA)
+ else if (act->body_size() == SIZE_GIANT
+ && grid != DNGN_DEEP_WATER && grid != DNGN_LAVA)
{
blocked_landing_reason = BLOCKED_GIANT;
return false;