summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-labyrinth.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-10-23 10:57:35 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-10-24 00:30:34 +0200
commit1d578dda6fd52327bc9191d353834ce0f246dbcc (patch)
treec53b611c4f484acac407874943a8f744e86a9321 /crawl-ref/source/dgn-labyrinth.cc
parent19c3e5f86f7e658cee713751d82137c95d57ba3f (diff)
downloadcrawl-ref-1d578dda6fd52327bc9191d353834ce0f246dbcc.tar.gz
crawl-ref-1d578dda6fd52327bc9191d353834ce0f246dbcc.zip
Drop a lot of superfluous parentheses.
These can be really confusing, especially if there are operators of different priorities, or multiple levels of parentheses, nearby.
Diffstat (limited to 'crawl-ref/source/dgn-labyrinth.cc')
-rw-r--r--crawl-ref/source/dgn-labyrinth.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-labyrinth.cc b/crawl-ref/source/dgn-labyrinth.cc
index cba0080f0c..48c8a47c78 100644
--- a/crawl-ref/source/dgn-labyrinth.cc
+++ b/crawl-ref/source/dgn-labyrinth.cc
@@ -316,7 +316,7 @@ static bool _is_deadend(const coord_def& pos)
count_neighbours++;
}
- return (count_neighbours <= 1);
+ return count_neighbours <= 1;
}
static coord_def _find_random_deadend(const dgn_region &region)