summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-proclayouts.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-21 00:12:45 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-21 00:12:45 +0100
commitcab063e5e304ab59f2f5604f0c0a83be371e7a3e (patch)
treea77303942b9945a9b687daba84c5e43430a4bed6 /crawl-ref/source/dgn-proclayouts.cc
parentd2bcb779ddd4339aa77e30d1f6d80a7a98cc6b81 (diff)
downloadcrawl-ref-cab063e5e304ab59f2f5604f0c0a83be371e7a3e.tar.gz
crawl-ref-cab063e5e304ab59f2f5604f0c0a83be371e7a3e.zip
Drop double newlines where they seem to serve no purpose.
Sometimes, they're there to emphasize a break between two sections of code, which is good. In a majority of cases, though, they're just inconsistent.
Diffstat (limited to 'crawl-ref/source/dgn-proclayouts.cc')
-rw-r--r--crawl-ref/source/dgn-proclayouts.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-proclayouts.cc b/crawl-ref/source/dgn-proclayouts.cc
index c42c224b4a..4e9a5933a0 100644
--- a/crawl-ref/source/dgn-proclayouts.cc
+++ b/crawl-ref/source/dgn-proclayouts.cc
@@ -64,7 +64,6 @@ DiamondLayout::operator()(const coord_def &p, const uint32_t offset) const
return ProceduralSample(p, DNGN_FLOOR, offset + 4096);
}
-
static uint32_t _get_changepoint(const worley::noise_datum &n, const double scale)
{
return max(1, (int) floor((n.distance[1] - n.distance[0]) * scale) - 5);