summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-21 12:37:25 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-21 12:37:25 -0600
commit4277eaea5e02fb69d64193a0395357e2c346afdb (patch)
tree68806b639fbb4d2e08215b12517c86c2eee0fe94 /crawl-ref/source/view.cc
parent505571294e7ca02c0af89ff2b25f3cecde439448 (diff)
downloadcrawl-ref-4277eaea5e02fb69d64193a0395357e2c346afdb.tar.gz
crawl-ref-4277eaea5e02fb69d64193a0395357e2c346afdb.zip
Add formatting fixes.
This mostly puts && and || on the proper lines, per the style guide.
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index 1feaeb3a4f..8dfd504f3e 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -907,8 +907,8 @@ void viewwindow(bool monster_updates, bool show_updates)
draw_unseen(&buffy[bufcount], gc);
else if (!crawl_view.in_grid_los(gc))
draw_outside_los(&buffy[bufcount], gc);
- else if (gc == you.pos() &&
- !crawl_state.arena && !crawl_state.arena_suspended)
+ else if (gc == you.pos()
+ && !crawl_state.arena && !crawl_state.arena_suspended)
{
draw_player(&buffy[bufcount], gc, ep);
}